Can we run Java applications on the iPhone?

Can I run or develop iPhone apps in Java?
I'm actually a little confused ...

Please carry me, look at these links and answer: -

LINK 1

LINK 2

LINK 3

This is an open discussion.
Any ideas are welcome.

Thanks to everyone.

+7
java iphone java-me j2mepolish
Jul 28 '09 at 11:34
source share
9 answers

There is currently no JVM on the iPhone. This means that the only way to develop iPhone applications in Java is to have a compiler that compiles your Java code to Objective-C.

There are several solutions that do just that:

Codename One - focuses on building Java applications with visual tools and simulators. An open source SaaS backend that eliminates the need for a Mac.

XMLVM is a translator for converting Java bytecode to C / Objective-C. Open source, but at the moment you need to write specific iOS code.

There are also some proprietary solutions, but I have no experience with them. For example. AG software has a tool called web objects.

+7
Jul 28 '09 at 11:38
source share

Sun has discovered that they can port Java to the iPhone, but the SDK license prohibits it. So this is not a technical, but a political issue.

+7
Jul 28 '09 at 11:57
source share

I would say: No

If you want to create โ€œrealโ€ native iPhone apps, you'll have to go with Objective-C and the iPhone SDK

There are other ways, for example http://phonegap.com/ , but I personally do not have experience with this project.

0
Jul 28 '09 at 11:40
source share

There is an implementation of the Java virtual machine called "Classpath", but the disadvantage is that you can only get it using Cydia / Installer.

So you need to jailbreak your iphone to install JVM.

gui can be designed as AWT-Gui.

in general: there is no solution (the apple does not allow applications that run other applications on their devices)

if you don't mind hacking the devices your application is deployed to: yes, there shouldn't be a big problem. there are a large number of tutorials on how to hack your iphone if you're interested ...

EDIT: there is a problem! If you do not have a libuicaboodle file, then every Java-based GUI application for iPhone is looking for, you will not be able to run the application. Is there anybode that still has this file? You can no longer find it: o (

considers

0
Jul 28 '09 at 11:47
source share

Webapp can be developed in Java, of course, but you cannot run Java applications on Iphone (virtual machines are not authorized on the device).

There is some effort in Java to convert objective-c, as in XMLVM (check out the Google TechTalk video).

0
Jul 28 '09 at 13:03
source share

In the end, I can conclude that with the iPhone you can easily create web applications for the iPhone. To develop native iPhone applications in Java, you can use alcheMo or XMLVM with a small workload. I have no experience with alcheMo or XMLVM , but of course I'm looking forward to it.

Thanks to everyone.

0
Jul 29 '09 at 4:06
source share

There are several ways to write an iphone application for java using the xmlvm to c lens converter, but it is difficult, but it is a suitable and compatible way to make a ur application. You need to learn the XML language.

0
Sep 23 '10 at 8:16
source share

An interesting approach is to combine the Google Web Toolkit with the Appcelerator Titanium to develop iPhone applications using Java.

Google Web Toolkit (GWT) allows you to compile Java code in Javascript, while Titanium allows you to create visual iPhone applications in Javascript. I started a project called " gwt-titanium " to combine the two, you can find an explanation of the project and building instructions on the iPhoneJava.org blog.

Good luck

0
Jul 11 '11 at 17:41
source share

What about other Java compilers for native compilers, although there was one called Jet ?

Compiles java for native.

0
Jul 08 '12 at 20:10
source share



All Articles