http://xmlvm.org/slides/android2iphone-google-mtv.pdfSample projects
Under the folderdemo, various demo projects exist, to test XMLVM system. This section will describe only iPhone and Android based demo projects. These demo projects can be run either from the command line, or from and IDE, such as Eclipse and Netbeans. The source code of the Java-for-the-iPhone demos is located in directorydemo/iphone/, whereas the source code of the Android-to-iPhone demos are located in directorydemo/android/.
These are self contained projects, similar with the ones created by the XMLVM skeleton process (see below under How to start a new project under XMLVM).
The example of cross-compilation include in the documentation consists on the following command:
xmlvm --in=/foo --target=android-on-iphone --iphone-app=TheApplicationwhere the directory /foo is searched recursively for *.class, *.exe, and *.xmlvm files, and then compiling using
make to read the Makefile generated by xmlvm.From http://www.xmlvm.org/documentation/manual.pdf (page 17):
You will need XCode installed (there's a nice tutorial here: http://mobileorchard.com/how-to-make-iphone-apps-part-1-xcode-suite-and-objective-c-3/)Using Apple’s Xcode IDE
TheMakefilegenerated by XMLVM can only compile and deploy the application on Apple’s emulator. Given the complexity of code signing that Apple requires for all native iPhone applications, you will need to use Xcode if a cross-compiled Java application is to be deployed on a device. The following steps explain the process of compiling an XMLVM-generated application using Xcode:
(list of instructions)
PS: Folositi Translate acolo unde aveti nevoie pana cand versiunea in limba romana va fi disponibila pe optlasuta.ro
does '--target=android-on-iphone' work on a windows machine?
ReplyDeleteNo it will work only on Mac with xcode installed
ReplyDelete