Quote:
Originally Posted by coreys
Hm, well both iPhone and Android are meant to run apps on the Java platform. I know that Android at least made their own JVM interpreter that's leaps and bounds faster on a mobile platform.
|
The Android platform uses Dalvik. Essentially it is a custom compiler that takes Java code and translates it into Dalvik so that it can run on Android. The Android NDK makes it possible to develop apps in a native language like C++ though, which is what the Android Graal client uses. The iPhone, on the other hand, doesn't use Java at all; applications are written usually using Objective-C and Cocoa bindings, but you can use C++ and just bind to the bits of Cocoa that you need (like the virtual keyboard).
Quote:
|
Originally Posted by coreys
and I haven't heard of -any- way to do it on Android (although I have seen a project to run Python, Perl, and other scripting languages on top of the Java runtime).
|
http://developer.android.com/sdk/ndk/1.6_r1/index.html