使用 XMLVM 将 iPhone 应用程序移植到 Android?
我正在考虑为两个平台编写一个应用程序,但 iPhone 应用程序必须没有错误且准时,所以我想先编写它。我对这两个平台都没有经验。
看起来,用 Java 为 Android 编写的应用程序可以使用 XMLVM(不完美地)转换为 Objective C,之后就可以修复它并使其以更少的工作量工作。
我的问题是,可以反过来做吗?我没有看到它不能实现的理论上的原因,但我还没有发现任何表明它已经被实现的东西。 (当然,我并不专注于 XMLVM;如果有不同的解决方案,我很乐意使用它。)
I'm considering writing an app for both platforms, but the iPhone app must be bug-free and on time, so I want to write it first. I have no experience with either platform.
It would appear to be that applications written for Android in Java can be converted (imperfectly) to Objective C using XMLVM, after which one could fix it up and make it work with a lot less work.
My question is, can it be done the other way around? I don't see a theoretical reason why it can't, but I haven't found anything that suggests that it's been implemented. (Of course, I'm not fixated on XMLVM; if there's a different solution, I'd be happy to use it.)
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
看来是做不到了。
XMLVM 将字节码(JVM 字节码、.NET 字节码或 Ruby YARV 字节码)转换为多种不同的语言,包括 Objective C。它无法转换 Objective C 源代码或编译代码。
Looks like it can't be done.
XMLVM converts bytecode (JVM bytecode, .NET bytecode, or Ruby YARV bytecode) to several different languages, including Objective C. It can't convert Objective C source or compiled code.