You can subscribe to this list here.
2011 |
Jan
|
Feb
|
Mar
(38) |
Apr
(34) |
May
(20) |
Jun
(46) |
Jul
(6) |
Aug
(13) |
Sep
(50) |
Oct
(27) |
Nov
(10) |
Dec
(3) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2012 |
Jan
(7) |
Feb
(3) |
Mar
(4) |
Apr
|
May
|
Jun
(2) |
Jul
(4) |
Aug
(3) |
Sep
(1) |
Oct
(2) |
Nov
|
Dec
|
2013 |
Jan
(1) |
Feb
|
Mar
(4) |
Apr
|
May
(1) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2015 |
Jan
|
Feb
(1) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Alexandre A. <afl...@ho...> - 2012-02-01 19:51:20
|
Dear Member of XMLVM List, First of all, I'd like to say I've seen Dr. Arno's presentation from February 25, 2010, and I'm now very interested in your XMLVM project. I've already downloaded the code, and I tried some work with my already developed Android Java Code. I wasn't very successful in these attempts, but that's a good start. Anyway, I'd like to ask you some few questions. I'm interested in porting my already written Android Java Code to Apple Object-C iOS code. 1- To use XMLVM, do I have to start my Android Java Development from the beginning using your iOS Java Classes? 2- If the answer for question 1 is positive, is there anything I can do to change easily this code and port it to the XMLVM iOS format? 3- If the answer for question 1 is negative, can I use all the ANDROID library, or only the features that you've already implemented for your XMLVM project (file Android .java that I can see in the XMLVM project directory)? Thanks in advance for your help, and congratulations again for this beautiful work/initiative. Best regards, Alexandre Flores de Almeida Brazil |
From: miniBill <cmt...@gm...> - 2012-01-30 19:37:48
|
How do I instruct ant to also use the other projects my main one depends upon? Leonardo |
From: Shai <sha...@ya...> - 2012-01-23 05:36:51
|
Thanks, I'll check again. >________________________________ > From: Arno Puder <ar...@pu...> >To: xml...@li... >Sent: Monday, January 23, 2012 7:12 AM >Subject: Re: [xmlvm-dev] Object array instanceof problem > > >yes, the patch only changes XMLVM_ISA() in xmlvm.c. My tests seem to be >running OK. I cannot deduce anything from the bad access error you >reported. This could be something completely unrelated. Can you please >try and come up with a small, self-contained Java sniplet that >reproduces the error? Without that there is nothing I can do. > >Arno > > >On 1/22/12 9:07 PM, Shai wrote: >> Thanks, >> I tried this but I applied manually since I have a somewhat older >> version. As far as I can tell the only significant change is in XMLVM_ISA. >> >> After changing that I'm getting a crash for bad access: >> _r8.o = (*(JAVA_OBJECT (*)(JAVA_OBJECT)) >> *(((java_lang_Object*)_r2.o)->tib->itableBegin)[XMLVM_ITABLE_IDX_com_packagename_classname_getObjectId__])(_r2.o); >> >> Best Regards, >> Shai. >> >> ------------------------------------------------------------------------ >> *From:* Arno Puder <ar...@pu...> >> *To:* xml...@li... >> *Sent:* Sunday, January 22, 2012 11:48 PM >> *Subject:* Re: [xmlvm-dev] Object array instanceof problem >> >> >> can you please check if the attached patch fixes the problem? >> >> Thanks, >> Arno >> >> >> On 1/22/12 11:12 AM, Shai wrote: >> > Hi, >> > I just ran into an issue with: >> > o instanceof Object[] >> > >> > Where o is an array of Object subclass. This works as expected in >> Java >> > but doesn't work with the C backend on iPhone (I'm not on the >> latest and >> > greatest since we are approaching feature freeze on the iOS work). >> > Is this something that is fixable in XMLVM? >> > Are there workarounds? >> > >> > Thanks. >> > >> > >> > >> ------------------------------------------------------------------------------ >> > Try before you buy = See our experts in action! >> > The most comprehensive online learning library for Microsoft >> developers >> > is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, >> CSS3, MVC3, >> > Metro Style Apps, more. Free future releases when you subscribe now! >> > http://p.sf.net/sfu/learndevnow-dev2 >> > >> > >> > >> > _______________________________________________ >> > Xmlvm-developers mailing list >> > Xml...@li... >> <mailto:Xml...@li...> >> > https://lists.sourceforge.net/lists/listinfo/xmlvm-developers >> >> ------------------------------------------------------------------------------ >> Try before you buy = See our experts in action! >> The most comprehensive online learning library for Microsoft developers >> is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, >> Metro Style Apps, more. Free future releases when you subscribe now! >> http://p.sf.net/sfu/learndevnow-dev2 >> _______________________________________________ >> Xmlvm-developers mailing list >> Xml...@li... >> <mailto:Xml...@li...> >> https://lists.sourceforge.net/lists/listinfo/xmlvm-developers >> >> >> >> >> ------------------------------------------------------------------------------ >> Try before you buy = See our experts in action! >> The most comprehensive online learning library for Microsoft developers >> is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, >> Metro Style Apps, more. Free future releases when you subscribe now! >> http://p.sf.net/sfu/learndevnow-dev2 >> >> >> >> _______________________________________________ >> Xmlvm-developers mailing list >> Xml...@li... >> https://lists.sourceforge.net/lists/listinfo/xmlvm-developers > >------------------------------------------------------------------------------ >Try before you buy = See our experts in action! >The most comprehensive online learning library for Microsoft developers >is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, >Metro Style Apps, more. Free future releases when you subscribe now! >http://p.sf.net/sfu/learndevnow-dev2 >_______________________________________________ >Xmlvm-developers mailing list >Xml...@li... >https://lists.sourceforge.net/lists/listinfo/xmlvm-developers > > > |
From: Arno P. <ar...@pu...> - 2012-01-23 05:12:16
|
yes, the patch only changes XMLVM_ISA() in xmlvm.c. My tests seem to be running OK. I cannot deduce anything from the bad access error you reported. This could be something completely unrelated. Can you please try and come up with a small, self-contained Java sniplet that reproduces the error? Without that there is nothing I can do. Arno On 1/22/12 9:07 PM, Shai wrote: > Thanks, > I tried this but I applied manually since I have a somewhat older > version. As far as I can tell the only significant change is in XMLVM_ISA. > > After changing that I'm getting a crash for bad access: > _r8.o = (*(JAVA_OBJECT (*)(JAVA_OBJECT)) > *(((java_lang_Object*)_r2.o)->tib->itableBegin)[XMLVM_ITABLE_IDX_com_packagename_classname_getObjectId__])(_r2.o); > > Best Regards, > Shai. > > ------------------------------------------------------------------------ > *From:* Arno Puder <ar...@pu...> > *To:* xml...@li... > *Sent:* Sunday, January 22, 2012 11:48 PM > *Subject:* Re: [xmlvm-dev] Object array instanceof problem > > > can you please check if the attached patch fixes the problem? > > Thanks, > Arno > > > On 1/22/12 11:12 AM, Shai wrote: > > Hi, > > I just ran into an issue with: > > o instanceof Object[] > > > > Where o is an array of Object subclass. This works as expected in > Java > > but doesn't work with the C backend on iPhone (I'm not on the > latest and > > greatest since we are approaching feature freeze on the iOS work). > > Is this something that is fixable in XMLVM? > > Are there workarounds? > > > > Thanks. > > > > > > > ------------------------------------------------------------------------------ > > Try before you buy = See our experts in action! > > The most comprehensive online learning library for Microsoft > developers > > is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, > CSS3, MVC3, > > Metro Style Apps, more. Free future releases when you subscribe now! > > http://p.sf.net/sfu/learndevnow-dev2 > > > > > > > > _______________________________________________ > > Xmlvm-developers mailing list > > Xml...@li... > <mailto:Xml...@li...> > > https://lists.sourceforge.net/lists/listinfo/xmlvm-developers > > ------------------------------------------------------------------------------ > Try before you buy = See our experts in action! > The most comprehensive online learning library for Microsoft developers > is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, > Metro Style Apps, more. Free future releases when you subscribe now! > http://p.sf.net/sfu/learndevnow-dev2 > _______________________________________________ > Xmlvm-developers mailing list > Xml...@li... > <mailto:Xml...@li...> > https://lists.sourceforge.net/lists/listinfo/xmlvm-developers > > > > > ------------------------------------------------------------------------------ > Try before you buy = See our experts in action! > The most comprehensive online learning library for Microsoft developers > is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, > Metro Style Apps, more. Free future releases when you subscribe now! > http://p.sf.net/sfu/learndevnow-dev2 > > > > _______________________________________________ > Xmlvm-developers mailing list > Xml...@li... > https://lists.sourceforge.net/lists/listinfo/xmlvm-developers |
From: Shai <sha...@ya...> - 2012-01-23 05:07:48
|
Thanks, I tried this but I applied manually since I have a somewhat older version. As far as I can tell the only significant change is in XMLVM_ISA. After changing that I'm getting a crash for bad access: _r8.o = (*(JAVA_OBJECT (*)(JAVA_OBJECT)) *(((java_lang_Object*)_r2.o)->tib->itableBegin)[XMLVM_ITABLE_IDX_com_packagename_classname_getObjectId__])(_r2.o); Best Regards, Shai. >________________________________ > From: Arno Puder <ar...@pu...> >To: xml...@li... >Sent: Sunday, January 22, 2012 11:48 PM >Subject: Re: [xmlvm-dev] Object array instanceof problem > > >can you please check if the attached patch fixes the problem? > >Thanks, >Arno > > >On 1/22/12 11:12 AM, Shai wrote: >> Hi, >> I just ran into an issue with: >> o instanceof Object[] >> >> Where o is an array of Object subclass. This works as expected in Java >> but doesn't work with the C backend on iPhone (I'm not on the latest and >> greatest since we are approaching feature freeze on the iOS work). >> Is this something that is fixable in XMLVM? >> Are there workarounds? >> >> Thanks. >> >> >> ------------------------------------------------------------------------------ >> Try before you buy = See our experts in action! >> The most comprehensive online learning library for Microsoft developers >> is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, >> Metro Style Apps, more. Free future releases when you subscribe now! >> http://p.sf.net/sfu/learndevnow-dev2 >> >> >> >> _______________________________________________ >> Xmlvm-developers mailing list >> Xml...@li... >> https://lists.sourceforge.net/lists/listinfo/xmlvm-developers > >------------------------------------------------------------------------------ >Try before you buy = See our experts in action! >The most comprehensive online learning library for Microsoft developers >is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, >Metro Style Apps, more. Free future releases when you subscribe now! >http://p.sf.net/sfu/learndevnow-dev2 >_______________________________________________ >Xmlvm-developers mailing list >Xml...@li... >https://lists.sourceforge.net/lists/listinfo/xmlvm-developers > > > |
From: Arno P. <ar...@pu...> - 2012-01-22 21:48:40
|
can you please check if the attached patch fixes the problem? Thanks, Arno On 1/22/12 11:12 AM, Shai wrote: > Hi, > I just ran into an issue with: > o instanceof Object[] > > Where o is an array of Object subclass. This works as expected in Java > but doesn't work with the C backend on iPhone (I'm not on the latest and > greatest since we are approaching feature freeze on the iOS work). > Is this something that is fixable in XMLVM? > Are there workarounds? > > Thanks. > > > ------------------------------------------------------------------------------ > Try before you buy = See our experts in action! > The most comprehensive online learning library for Microsoft developers > is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, > Metro Style Apps, more. Free future releases when you subscribe now! > http://p.sf.net/sfu/learndevnow-dev2 > > > > _______________________________________________ > Xmlvm-developers mailing list > Xml...@li... > https://lists.sourceforge.net/lists/listinfo/xmlvm-developers |
From: Shai <sha...@ya...> - 2012-01-22 19:49:31
|
Looking further at the code its possible that the code that is failing is something like o instanceof byte[] which is also in that same segment. A workaround I was able to apply checks for the bug and tries a cast which is caught seamlessly detect the type (can't use reflection here). >________________________________ > From: Shai <sha...@ya...> >To: "xml...@li..." <xml...@li...> >Sent: Sunday, January 22, 2012 9:12 PM >Subject: [xmlvm-dev] Object array instanceof problem > > >Hi, >I just ran into an issue with: >o instanceof Object[] > > >Where o is an array of Object subclass. This works as expected in Java but doesn't work with the C backend on iPhone (I'm not on the latest and greatest since we are approaching feature freeze on the iOS work). >Is this something that is fixable in XMLVM? >Are there workarounds? > > >Thanks. > >------------------------------------------------------------------------------ >Try before you buy = See our experts in action! >The most comprehensive online learning library for Microsoft developers >is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, >Metro Style Apps, more. Free future releases when you subscribe now! >http://p.sf.net/sfu/learndevnow-dev2 >_______________________________________________ >Xmlvm-developers mailing list >Xml...@li... >https://lists.sourceforge.net/lists/listinfo/xmlvm-developers > > > |
From: Shai <sha...@ya...> - 2012-01-22 19:12:10
|
Hi, I just ran into an issue with: o instanceof Object[] Where o is an array of Object subclass. This works as expected in Java but doesn't work with the C backend on iPhone (I'm not on the latest and greatest since we are approaching feature freeze on the iOS work). Is this something that is fixable in XMLVM? Are there workarounds? Thanks. |
From: Panayotis K. <pan...@pa...> - 2011-12-07 14:35:48
|
I have created a patch which at minimum addresses this issue. It is mainly a direct transformation of the equivalent UIImagePickerController code to UIImage. Please tell me if you agree. |
From: Panayotis K. <pan...@pa...> - 2011-12-07 13:06:51
|
On 07 Δεκ 2011, at 2:44 μ.μ., Panayotis Katsaloulis wrote: > I think there is a mistake in the location of function UIImageWriteToSavedPhotosAlbum > Now this function is an instance method of the UIImagePickerController class. > > From the signature of the function this should be an instance method of UIImage, and namely > public void writeToSavedPhotosAlbum(UIImageWriteToPhotoAlbumHandler target, Object context) > > probably it should be moved there? ... moreover, has anybody checked the selector? In ObjC code I can see something like sel = NSSelectorFromString(@"imageDidFinishWritingWithError___org_xmlvm_iphone_UIImage_org_xmlvm_iphone_NSError_java_lang_Object:::"); It is interesting because in the iOS documentation it says: This optional method should conform to the following signature: - (void) image: (UIImage *) image didFinishSavingWithError: (NSError *) error contextInfo: (void *) contextInfo; which of course doesn't conform... |
From: Panayotis K. <pan...@pa...> - 2011-12-07 12:44:35
|
I think there is a mistake in the location of function UIImageWriteToSavedPhotosAlbum Now this function is an instance method of the UIImagePickerController class. From the signature of the function this should be an instance method of UIImage, and namely public void writeToSavedPhotosAlbum(UIImageWriteToPhotoAlbumHandler target, Object context) probably it should be moved there? |
From: Spoorthi D s. <spo...@gm...> - 2011-11-12 09:26:41
|
The current statistics with regard to automatic generation of C wrappers is as below: *General :* Total Objects/Structs/Protocols 828 Ignore List* 43 Protocols (Not generated) 93 Parsed and generated 692 *Constructors :* Total Constructors (Including Ignore list) 341 Generated 305 Not Implemented 35 Default Constructors (Not part of ObjC API) 674 *Methods:* Total Methods (Excluding Protocols; Including ignore list)) 7947 Generated 1365 Not Implemented 6479 [* list of classes that are ignored during the automatic generation of C wrappers] Note: Currently we have a minimal functionalities and a test code in xmlvm/src/test/ios which tests CGRect (structures) and NSString ( Classes). Spoorthi |
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 |
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: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: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: 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: 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: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: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: 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: Arno P. <ar...@pu...> - 2011-10-31 05:30:57
|
Guys, as some of you know, we are working on generating the Java iOS API from the original Objective-C header files. This would replace the time-consuming, error prone process of doing this manually. Another benefit is that we would have instant 100% coverage of the complete iOS API. There is now a very first version of this new API to show where things are headed. There are two new directories: xmlvm/src/ios: contains the generated Java iOS API. xmlvm/src/xmlvm2c/lib/wrapper: contains the generated C wrappers. The new API lives in package org.xmlvm.ios.*. When cross-compiling an iOS application with --target=iphonec, use the new command line parameter --xmlvm-new-ios-api. At this stage, the new API only supports structs (such as CGRect, CGPoint, etc). There is a minimalistic test case in xmlvm/src/test/ios that can be cross-compiled in the following way: java -Xmx1G -jar dist/xmlvm.jar --in=bin/org/xmlvm/test/ios/ \ --out=out --app-name=CGRectTest --target=iphonec \ --xmlvm-new-ios-api To generate the new API yourself, you need to checkout trunk/crossmobile in the same directory where you checked out trunk/xmlvm, then: cd crossmobile ant gen-xmlvm-ios There is still much work ahead, but we wanted to give you a heads up on the progress. Please consider to help if you have spare cycles. Arno |
From: Aaron V. <gru...@gm...> - 2011-10-19 09:00:44
|
I guess you're referring to src/org/crossmobile/source/guru/advisor.xml ? Looking at what's already in that file, it seems like you're trying to (a) avoid specifying anything for which the default choices are already correct, and (b) keep the definitions general enough to make it clear what the transformations are without having to understand how the processor is implemented. So given that, I'd probably lean toward something like this (and leave Reference<> to be the default): <parametertypes> <method signature="CGFontGetGlyphBBoxes::CGFontRefCGGlyph[]size_tCGRect[]"> <!-- or whatever the correctly mangled signature would be --> <parameter index="1" type="List<CGGlyph>" /> <parameter index="3" type="List<CGRect>" /> </method> </parametertypes> However, taking another look through the skeleton, I'm starting to think that maybe this is not the phase to be trying to Java-ize these types of references. For instance, taking a look at CGContext.addRects(Reference<CGRect> rects, int count), clearly in Java this would be better translated as CGContext.addRects(List<CGRect> rects) (the count parameter being redundant). I'm thinking that rather than trying to convert from Reference to List in the initial phase, it might be better to keep the naive translation (Reference<>, int), and then later tack on a written-by-hand convenience method like this: public void addRects(List<CGRect> rects) { addRects(Reference.fromList(rects), rects.size()); } This type of approach of adding in convenience methods could also perhaps be used to address some of the string conversion (String vs byte[]) issues discussed previously. Cheers, --Aaron V. On Fri, Oct 14, 2011 at 1:59 AM, Panayotis Katsaloulis <pan...@pa...> wrote: > I believe that only manual could define what something is (and I'd love to hear your suggestions on how to properly define something like this in the > XML file). > Do you think it could work simply to use List<SomeType> where > SomeType[] is used in C, and Reference<SomeType> where SomeType* is > used? Even though C compiles them identically, we can still > distinguish the intent in the header files. |
From: Paul P. <bay...@gm...> - 2011-10-17 19:22:38
|
Consider the example below. If we invoked the finalize() in the same thread, it would deadlock & unfortunately can't be blamed on poor application code since it's unrelated/unpredictable. If both threads are attempting to "do stuff" at the same time, it would deadlock. That's one reason the finalize() invocation occurs in a different thread, but if we could do collection in that same finalizer thread, that would be nice. Thread 1: synchronized (obj1) { synchronized (obj2) { // do stuff } } Thread 2: synchronized (obj2) { new Object(); // "new" causes a finalize() invocation on the instance below } A different instance which is ready for finalization: protected void finalize() { synchronized (obj1) { // do stuff } } Thanks, Paul On Mon, Oct 17, 2011 at 2:01 PM, Shai <sha...@ya...> wrote: > I don't think I know much on the subject, I've ported VM's but usually > treated the GC as a "black box" sort of thing. This past week I did some > digging in the code (trying to pinpoint the issue) and that's the source of > most of my understanding in Boehm. > > The issue of a deadlock or problem in a finalizer is probably the mistake > of the finalizer author, many VM's fail for this use case. This can pose a > problem for cases such as a finalizer trying to close a stream which might > call flush() hence causing a delay or even failure. But that use case would > probably be problematic with every VM. > > Looking at it I find the code a bit hard to follow and I'm not exactly sure > its properly configured for threading to begin with. E.g. for thread support > GC_stop_world() needs to be defined via GC_set_stop_func() (there is such a > method in the pthread version but no one is invoking it). > Anyway, if the world would be stopped during GC it might actually improve > the performance and fix some of the issues you were seeing in the past. Or > am I missing something here? > > I don't think there would be a major difference between invoking directly > from the no-order method you are currently using and the method I suggested > (it just seemed more appropriate since its designed for Java. > I don't know how to determine the GC thread as the finalizer thread but I > think setting the finalizer to invoke directly will solve this issue just as > well. > > Thanks. > > > ------------------------------------------------------------------------------ > All the data continuously generated in your IT infrastructure contains a > definitive record of customers, application performance, security > threats, fraudulent activity and more. Splunk takes this data and makes > sense of it. Business sense. IT sense. Common sense. > http://p.sf.net/sfu/splunk-d2d-oct > _______________________________________________ > Xmlvm-developers mailing list > Xml...@li... > https://lists.sourceforge.net/lists/listinfo/xmlvm-developers > |
From: Shai <sha...@ya...> - 2011-10-17 19:03:31
|
Thanks, my main point is about the necessity of the FinalizerThread more than the specific function used to bind the callback. I'll take a closer look at this. |