Answer the question
In order to leave comments, you need to log in
What language are Android programs written in?
I know that in C, Java, (I even found that in PHP)
I would like to see the statistics, in percentage terms, what is used.
Answer the question
In order to leave comments, you need to log in
Android's native language (as the documentation makes clear) is Java. The entire API to the platform is provided in the form of Java libraries. However, it is not Java that runs on the phone itself - the Java bytecode is interpreted into native Android (Dalvik), which is launched on the device. In addition, there is NDK (native development kit) - a set of tools and libraries that allow you to compile native posix (Linux) code and attach it to the application. Accordingly, everything that compiles into native code can run there, including scripting language interpreters and virtual machines. Until recently, it was impossible to create an application completely in native code - you still needed a wrapper from Java, recently, by adding a set of native libraries with system APIs, it became possible to write a native program from start to finish, without Java.
From the above, it is clear that you can write on almost anything. In reality, in most cases, they write in Java, sometimes they catch rewritten bottlenecks and / or third-party libraries in C / C ++. The exceptions are games that are often written entirely or almost entirely in C++.
Mostly in Java.
Browser applications are written in PHP + JS.
The native language is Java, programs are written in it using the SDK. There are also several middleware engines that can build android applications, such as Corona SDK, or the same Unity. They have their own languages, in the Crown - Lua, in Unity - C #, JS.
… and I haven't seen any statistics on Visual Basic
, but I think that non-Java languages account for 10-20 percent.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question