V
V
Vadim Remin2015-05-04 14:19:50
linux
Vadim Remin, 2015-05-04 14:19:50

Why is Android development done in Java when Linux itself is written in C?

Hello,
theory question. Android is built on the Linux kernel, the Linux kernel is developed in C, development for Linux is also being done, as I understand it, in C (I could be wrong). Why was Java chosen as the base language of the Android SDK and not C, C++, or C#? (About xamarin in the course, but we are talking about the base language). Do I understand correctly that most of the play market applications, including 3d games, are executed on the Java VM? Why is a java application running on the java VM considered native to android?
Thanks in advance!

Answer the question

In order to leave comments, you need to log in

5 answer(s)
N
Nazar Mokrinsky, 2015-05-04
@dkudrin1

development under Linux is also underway, as I understand it, in C (I could be wrong)

Yes, even in PHP or JS, development for Linux is carried out in any language, and the OS kernel, yes, is written in C.
In general, you are on Google. Here is the first link: https://stackoverflow.com/questions/3560963/why-do...

B
bobrovskyserg, 2015-05-04
@bobrovskyserg

Why a monument to Pushkin, if "Mu-mu" was written by Turgenev?
Yes, because the founding fathers decided so, with the goal of the most successful development of the Android ecosystem.

K
Konstantin Kitmanov, 2015-05-04
@k12th

Yes, simply because when Android was created, it was necessary to ensure an easy transition (and porting) from Java ME, on which tons of apps were created for phones of that time.

A
Almik Oh! Give me a guitar, 2015-05-04
@almyk

Programs written in Java are portable across different platforms. The creators of Java initially did not even suspect that this language would become widespread (By the way, the first name of java was actually Oak - that is, oak)). It was assumed that Java would be mainly used for programming all kinds of irons, dummies, etc. where the "portability" of the written code was vital. But in the 90s, the Internet technology boom began, and the language that was originally created for "dummies and cups" found its place there, since Java programs are portable .

P
Pavel F, 2015-05-06
@derik05

Native Development Kit

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question