View Single Post
  #9  
Old 02-13-2010, 08:19 PM
Skyld Skyld is offline
Script-fu
Skyld's Avatar
Join Date: Jan 2002
Location: United Kingdom
Posts: 3,914
Skyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud of
Send a message via AIM to Skyld
Quote:
Originally Posted by coreys View Post
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
__________________
Skyld
Reply With Quote