From: Domenico De F. <dom...@gm...> - 2011-05-23 10:22:03
|
Hi all, I spread the voice about my Java2iPhone project and the many wonders of XMLVM :-) A colleague now asks me to try to cross-compile an Android application to iPhone, something I've never tried. Starting from the Eclipse project, I created an XMLVM migration project followig the documentation and tried to cross-compile. I have a couple of questions about this now: 1) Is it still possible, from the XMLVM project, to run the app in the Android simulator? I tried to set the External Tool Configuration to the -run-Android target but it seems it runs the cross-compilation every time. Also, I tried the simple Run As Android Application but I get some errors on the XMLVM build files that should not be involved in the process. 2) This is something I never really understood also in Java2iPhone: If my project uses some external libraries like, let's say, a JSON parser, how can I tell XMLVM to cross-compile them too? In Java2iPhone when I had the necessity, I just retrieved the Java source code for the library and imported it in my project; however it seems to be reasonable that it should be possible to directly tell XMLVM to cross-compile the jar file since it contains .class files too. Is it done using the -in argument? In that case, is there a way of using it without the need for the command line? It would be more confortable to launch XMLVM from eclipse just setting the -in argument somewhere, instead of having to compile the java project and then use the command line to run XMLVM. Thank you for your help! -- Domenico De Fano |