Does anyone know of any existing projects that aim to port Android's Java VM over to the iPhone? From what I understand, this wouldn't be too out of reach and would certainly make for some exciting developments.

Edit: I should point out that I am aware this will not happen using the official iPhone SDK. However, a jailbroken platform would remove any Apple-imposed roadblocks. I imagine most that would be interested in integrating Android into the iPhone would also be the demographic that would typically have a jailbroken iphone.


To be useful you'd also have to port the connection to Google's App Store. Yeah, Apple's gonna allow that. We're much more likely to see some iPhone-emulation tools for the Android.

Joel Coehoorn
I don't think what Apple will/won't allow is really of any consequence. It might stop some developers, but I imagine many are aware and would have no problem pursuing the jailbreak route.
Furthermore, iPhone emulation is a massive undertaking unless you pirate all of Apple's libraries that implement the iPhone operating system and UI.

Based on this article, that doesn't seem likely as the iPhone SDK agreement wouldn't allow a program that downloads/runs other programs.

+1  A: 

As of now, there are no existing projects aiming to port Dalvik (the Android VM, which is not really a Java VM since it doesn't execute Java bytecode) to the iPhone. There is, however, at least one "real" Java VM available for the iPhone. You can find it in Cydia on jailbroken phones.

The issue with these projects is that Apple doesn't allow third-party apps to execute code, so Java VMs can only run on jailbroken iPhones.


Apple's iPhone is a closed system. They control what is deployed from the OS to the applications. They have said they have no intention of supporting a JVM. This would have to be a rogue application outside of that control and therefore not very appealing to the masses.

+5  A: 

There isn't currently an effort to port Dalvik to iPhone because Google hasn't released the source yet. As soon as the source is released (assuming all of it will be) I would think this will happen. It's also likely to be seen on other homebrew platforms such as PSP, Pandora, openmoko, etc.

Any update on Google releasing Dalvik's source? The link in the answer doesn't work and a quick google search didn't help.