views:

1231

answers:

5

Is it just Java?

+14  A: 

The Android SDK is Java-based.

I am sure there is some ARM-assembly, C and C++ in the mix too for the low level stuff.

Daniel A. White
sweet. once i finish my iPhone App I'm jumping over to the Android ;)
HollerTrain
+1  A: 

Android 2.1 SDK - Java

McAden
It should be noted that Android is not Java. It uses the Java programming language, there is a huge difference. To call something Java implies that it is a sanctioned VM and will run other Java applications, which Android will not. They simply use their compiler/vm to build and run apps written in the Java programming language.
jcm
You're rather overstating the case. J2ME phones don't run any java application either, they're a different platform (albeit a Sun-sanctioned one). Android is no different; it has its own platform library, but the core Java API remains unchanged. And FWIW, it doesn't use the Sun JVM, but Google's own (Dalvik), which has its own bytecode architecture and converts from Java .class files at build time. No Sun code exists on the device.
Andy Ross
+3  A: 

Remember though, that even though you write Android apps in Java, the code is not compiled to normal Java bytecode. It is instead compiled to Dalvik vm code. This means that you can't use common third party JAR files that are Java bytecode class files.

darren
But you could if you had the original .java files, right?
MatrixFrog
According to the Wikipedia article on the Dalvik VM, there's a tool to convert Java class files to the Dalvik format, so I imagine you could convert a whole compiled JAR.
Matt Olenik
Yes, you can convert jars to dalvik.
Adam Goode
thanks for clarifying.
darren
+8  A: 

Yes, you program in Java, but you can also program in native C with the Native Development Kit.

Adam Goode
+1  A: 

Nexus One uses Android 2.1, and to develop programs for Android, we can use the Java programming language. For advanced usage or more performance, Google provides Native Development Kit, where we can use C to write programs.

yuku