如何用Java开发iPhone应用程序? [英] How can one develop iPhone apps in Java?

查看:140
本文介绍了如何用Java开发iPhone应用程序?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在我的计算机科学课上,我完成了所有项目;所以我的老师认为开发iPhone应用程序是个好主意。唯一的问题是该课程是用java教授的,而iPhone应用程序是用Objective-C编写的。

In my computer science class, I have completed all my projects; So my teacher thought it'd be a good idea to develop IPhone apps. The only problems is that the class is taught in java, and IPhone apps are written in Objective-C.

我想知道是否有人用JavaVM开发了Java应用程序。

I was wondering if anyone has developed applications in Java, with XMLVM.

这个编译器(据说)将java字节代码转换为Objective-C(不需要苹果计算机或Objective-C知识)。这是正确的吗?

This compiler (supposedly) converts java byte code into Objective-C (without needing an apple computer or knowledge of Objective-C). Is this correct?

http:// www。 xmlvm.org/overview/

以下是在iPhone上使用的Java代码的代码示例:

Here is a code example of Java code being used on an IPhone:

http://www.xmlvm.org/iphone/#

推荐答案

如果您已完成其他项目,为什么不花时间学习Objective-C?网上有大量资料可以帮助您入门。老实说,它不会那么难,学习一些内存管理将是一个很好的学习练习。你以前用C编程了吗?

If you've completed your other projects, why not take the time to learn Objective-C? There is a ton of material out on the web to help you get started. Honestly, it won't be that hard and learning to do some memory management will be a great learning exercise. Have you programmed in C before?

大多数交叉编译器在转换代码方面做得不好,如果开发它们,调试项目可能会变得更加困难这样。

Most cross compilers won't do a great job in converting your code, and debugging your project may become much more difficult if you develop them this way.

这篇关于如何用Java开发iPhone应用程序?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆