From: Sander K. <s.k...@de...> - 2011-11-10 10:10:41
|
Hello list members, I'd like to use xmlvm for a project which, in an technical perspective, isn't overly complicated. The only non-trivial thing that it requires is working camera functionality. In Android there are 2 ways to handle "making a picture" as far as I can tell: 1) Use the result of an Intent 2) Set up your own camera view and handle everything yourself Both of them aren't working in xmlvm at the moment, but I've read in an older message on the mailing list that it isn't too hard to implement. So my question is, which one of the above would be the easiest to implement? I could also use some pointers on where to start with this. So far I understand that I have to implement the missing classes in src/android2iphone/android. But I'm sure that's not all... Thanks in advance! Best regards, Sander Knopper |
From: Paul P. <bay...@gm...> - 2011-11-10 17:22:16
|
Hi Sander, One approach to this would be to first make sure this functionality is available when writing a Java to C program (non-Android) using XMLVM that covers the functionality you need. I am sure there will be work to get that part done. Once you are satisfied with that functionality, you can wrap it with the Android compatibility layer. I recommend looking at some of the demos in the source project and also the tutorials @ http://xmlvm.org/tutorial/ Thanks, Paul On Thu, Nov 10, 2011 at 4:10 AM, Sander Knopper <s.k...@de...>wrote: > Hello list members, > > I'd like to use xmlvm for a project which, in an technical perspective, > isn't overly complicated. > The only non-trivial thing that it requires is working camera > functionality. > > In Android there are 2 ways to handle "making a picture" as far as I can > tell: > > 1) Use the result of an Intent > 2) Set up your own camera view and handle everything yourself > > Both of them aren't working in xmlvm at the moment, but I've read in an > older message on the mailing list that it isn't too hard to implement. > > So my question is, which one of the above would be the easiest to > implement? > > I could also use some pointers on where to start with this. > So far I understand that I have to implement the missing classes in > src/android2iphone/android. But I'm sure that's not all... > > Thanks in advance! > > > Best regards, > > Sander Knopper > > > > > ------------------------------------------------------------------------------ > RSA(R) Conference 2012 > Save $700 by Nov 18 > Register now > http://p.sf.net/sfu/rsa-sfdev2dev1 > _______________________________________________ > Xmlvm-developers mailing list > Xml...@li... > https://lists.sourceforge.net/lists/listinfo/xmlvm-developers > |
From: Panayotis K. <pan...@pa...> - 2011-11-10 17:37:03
|
On 10 Νοε 2011, at 7:22 μ.μ., Paul Poley wrote: > Hi Sander, > > One approach to this would be to first make sure this functionality is available when writing a Java to C program (non-Android) using XMLVM that covers the functionality you need. I am sure there will be work to get that part done. Once you are satisfied with that functionality, you can wrap it with the Android compatibility layer. I recommend looking at some of the demos in the source project and also the tutorials @ http://xmlvm.org/tutorial/ > > Thanks, > Paul I think the camera is already working |
From: Paul P. <bay...@gm...> - 2011-11-10 17:41:57
|
Ah, well that's good! It sounds like some of the work (or all if you're lucky) is cut out for you, Sander. I'd still recommend familiarizing yourself with the demos and/or tutorials. Paul On Thu, Nov 10, 2011 at 11:36 AM, Panayotis Katsaloulis < pan...@pa...> wrote: > > I think the camera is already working > > |
From: Panayotis K. <pan...@pa...> - 2011-11-10 17:46:57
|
On 10 Νοε 2011, at 7:41 μ.μ., Paul Poley wrote: > Ah, well that's good! It sounds like some of the work (or all if you're lucky) is cut out for you, Sander. I'd still recommend familiarizing yourself with the demos and/or tutorials. > > Paul The camera under iOS, not under Android, with the ObjC backend. So some work still needs to be done. |
From: Arno P. <ar...@pu...> - 2011-11-10 18:00:10
|
there is a patch that has not yet been committed to the repository: http://xmlvm-reviews.appspot.com/169001/ It adds the Java iOS API for the camera (for both C and ObjC backend) as well as adds a camera tutorial for both Android and iOS. What is missing is the API mapping from Android to iOS (xmlvm/src/android2iphone). Arno On 11/10/11 9:46 AM, Panayotis Katsaloulis wrote: > > On 10 Νοε 2011, at 7:41 μ.μ., Paul Poley wrote: > >> Ah, well that's good! It sounds like some of the work (or all if you're lucky) is cut out for you, Sander. I'd still recommend familiarizing yourself with the demos and/or tutorials. >> >> Paul > > The camera under iOS, not under Android, with the ObjC backend. > So some work still needs to be done. > ------------------------------------------------------------------------------ > RSA(R) Conference 2012 > Save $700 by Nov 18 > Register now > http://p.sf.net/sfu/rsa-sfdev2dev1 > _______________________________________________ > Xmlvm-developers mailing list > Xml...@li... > https://lists.sourceforge.net/lists/listinfo/xmlvm-developers |
From: Sander K. | de T. <s.k...@de...> - 2011-11-10 18:01:47
|
Yes, that's good to hear! Anyway, if I understand correctly this means that the camera will work when using the Java iOS API? But when going from pure Android API to iOS it won't? Regards, Sander Knopper _____ From: Panayotis Katsaloulis [mailto:pan...@pa...] To: Xml...@li... [mailto:xml...@li...] Sent: Thu, 10 Nov 2011 18:46:53 +0100 Subject: Re: [xmlvm-dev] How to get camera functionality to work On 10 Νοε 2011, at 7:41 μ.μ., Paul Poley wrote: > Ah, well that's good! It sounds like some of the work (or all if you're lucky) is cut out for you, Sander. I'd still recommend familiarizing yourself with the demos and/or tutorials. > > Paul The camera under iOS, not under Android, with the ObjC backend. So some work still needs to be done. ------------------------------------------------------------------------------ RSA(R) Conference 2012 Save $700 by Nov 18 Register now http://p.sf.net/sfu/rsa-sfdev2dev1 _______________________________________________ Xmlvm-developers mailing list Xml...@li... https://lists.sourceforge.net/lists/listinfo/xmlvm-developers |
From: Arno P. <ar...@pu...> - 2011-11-10 18:10:36
|
yep. The compatibility classes in xmlvm/src/android2iphone are missing. But given the Java iOS API is already there, it shouldn't be too difficult. Arno On 11/10/11 10:01 AM, Sander Knopper | de Toekomst wrote: > Yes, that's good to hear! > > Anyway, if I understand correctly this means that the camera will work > when using the Java iOS API? But when going from pure Android API to iOS > it won't? > > > Regards, > > Sander Knopper > > ------------------------------------------------------------------------ > *From:* Panayotis Katsaloulis [mailto:pan...@pa...] > *To:* Xml...@li... > [mailto:xml...@li...] > *Sent:* Thu, 10 Nov 2011 18:46:53 +0100 > *Subject:* Re: [xmlvm-dev] How to get camera functionality to work > > > On 10 Νοε 2011, at 7:41 μ.μ., Paul Poley wrote: > > > Ah, well that's good! It sounds like some of the work (or all if > you're lucky) is cut out for you, Sander. I'd still recommend > familiarizing yourself with the demos and/or tutorials. > > > > Paul > > The camera under iOS, not under Android, with the ObjC backend. > So some work still needs to be done. > ------------------------------------------------------------------------------ > RSA(R) Conference 2012 > Save $700 by Nov 18 > Register now > http://p.sf.net/sfu/rsa-sfdev2dev1 > _______________________________________________ > Xmlvm-developers mailing list > Xml...@li... > <mailto:Xml...@li...> > https://lists.sourceforge.net/lists/listinfo/xmlvm-developers > > > > ------------------------------------------------------------------------------ > RSA(R) Conference 2012 > Save $700 by Nov 18 > Register now > http://p.sf.net/sfu/rsa-sfdev2dev1 > > > > _______________________________________________ > Xmlvm-developers mailing list > Xml...@li... > https://lists.sourceforge.net/lists/listinfo/xmlvm-developers |
From: Sander K. | de T. <s.k...@de...> - 2011-11-10 18:14:31
|
Great! I'll see what I can do to help. Regards, Sander Knopper _____ From: Arno Puder [mailto:ar...@pu...] To: xml...@li... Sent: Thu, 10 Nov 2011 19:03:34 +0100 Subject: Re: [xmlvm-dev] How to get camera functionality to work yep. The compatibility classes in xmlvm/src/android2iphone are missing. But given the Java iOS API is already there, it shouldn't be too difficult. Arno On 11/10/11 10:01 AM, Sander Knopper | de Toekomst wrote: > Yes, that's good to hear! > > Anyway, if I understand correctly this means that the camera will work > when using the Java iOS API? But when going from pure Android API to iOS > it won't? > > > Regards, > > Sander Knopper > > ------------------------------------------------------------------------ > *From:* Panayotis Katsaloulis [mailto:pan...@pa...] > *To:* Xml...@li... > [mailto:xml...@li...] > *Sent:* Thu, 10 Nov 2011 18:46:53 +0100 > *Subject:* Re: [xmlvm-dev] How to get camera functionality to work > > > On 10 Νοε 2011, at 7:41 μ.μ., Paul Poley wrote: > > > Ah, well that's good! It sounds like some of the work (or all if > you're lucky) is cut out for you, Sander. I'd still recommend > familiarizing yourself with the demos and/or tutorials. > > > > Paul > > The camera under iOS, not under Android, with the ObjC backend. > So some work still needs to be done. > ------------------------------------------------------------------------------ > RSA(R) Conference 2012 > Save $700 by Nov 18 > Register now > http://p.sf.net/sfu/rsa-sfdev2dev1 > _______________________________________________ > Xmlvm-developers mailing list > Xml...@li... > <mailto:Xml...@li...> > https://lists.sourceforge.net/lists/listinfo/xmlvm-developers > > > > ------------------------------------------------------------------------------ > RSA(R) Conference 2012 > Save $700 by Nov 18 > Register now > http://p.sf.net/sfu/rsa-sfdev2dev1 > > > > _______________________________________________ > Xmlvm-developers mailing list > Xml...@li... > https://lists.sourceforge.net/lists/listinfo/xmlvm-developers ------------------------------------------------------------------------------ RSA(R) Conference 2012 Save $700 by Nov 18 Register now http://p.sf.net/sfu/rsa-sfdev2dev1 _______________________________________________ Xmlvm-developers mailing list Xml...@li... https://lists.sourceforge.net/lists/listinfo/xmlvm-developers |