N
N
Nikita Kolosov2011-06-24 17:09:36
Java
Nikita Kolosov, 2011-06-24 17:09:36

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

6 answer(s)
Z
Zigmar, 2011-06-24
@Zigmar

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++.

S
Sergey Nalomenko, 2011-06-24
@nalomenko

Mostly in Java.
Browser applications are written in PHP + JS.

S
Sarveen, 2011-06-24
@Sarveen

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.

D
Dreddik, 2011-06-24
@Dreddik

Java + XML :)
You can also write low-level c / c ++

O
osby, 2011-06-24
@osby

… and I haven't seen any statistics on Visual Basic
, but I think that non-Java languages ​​account for 10-20 percent.

Z
Zamorozka, 2011-07-25
@Zamorozka

Java, C / C ++, javascript - yes, in principle, on whatever you want (only to have support), Android is linux ported for mobile.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question