<分区>
你知道一些使用 XMLVM 将 android 应用程序转换为 iphone 应用程序的好教程吗? 我在 youtube 上看了一部关于这个十字架的电影,但没有这方面的教程。
谢谢! 萨尔
<分区>
你知道一些使用 XMLVM 将 android 应用程序转换为 iphone 应用程序的好教程吗? 我在 youtube 上看了一部关于这个十字架的电影,但没有这方面的教程。
谢谢! 萨尔
最佳答案
这有帮助吗?
http://xmlvm.org/documentation/
Sample projects
Under the folder
demo
, 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).
http://xmlvm.org/slides/android2iphone-google-mtv.pdf
文档中包含的交叉编译示例包含以下命令:
xmlvm --in=/foo --target=android-on-iphone --iphone-app=TheApplication
在/foo 目录中递归搜索 *.class、*.exe 和
*.xmlvm文件,然后使用make
编译,读取xmlvm生成的Makefile
。
来自 http://www.xmlvm.org/documentation/manual.pdf (第 17 页):
2.2.3 Using Apple’s Xcode IDE
The
Makefile
generated by XMLVM can only compile and deploy the appli- cation 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)
您需要安装 XCode(有 这里有一个很好的教程: http://mobileorchard.com/how-to-make-iphone-apps-part-1-xcode-suite-and-objective-c-3/ )
关于iphone - 使用 XMLVM 将 android 应用程序转换为 iphone 应用程序,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/5571902/