S
S
sulim0003332018-11-28 16:07:17
Java
sulim000333, 2018-11-28 16:07:17

What is the difference between android and java?

For example, when you start the development environment, you can choose what you will write on, and among the options are: Java, kotlin and android (???),. What does this android mean? After all, Android applications are written in Java? Or is there another android language?

Answer the question

In order to leave comments, you need to log in

4 answer(s)
V
Vadim Prokhorov, 2018-11-30
@sulim000333

Actually the answer to your question: java is java, a programming language.
Android - this implies the creation of a project under the Android OS (at least on the same java), which will use the Android SDK / NDK (a set of libraries, api, android os components).

C
ChronosX, 2018-11-28
@ChronosX

Android is an operating system. Applications for it are written (usually) in Java (or Kotlin, although there are many more languages ​​​​in which you can write applications for Android).

I
Igor, 2018-11-28
@DMGarikk

well, at least java in android is not some specific version of the original java, but a kind of Frankenstein smeared with compatibility across different versions of android ... to the point that, for example, some things from java 7 can work and others no longer work

O
Orkhan, 2018-11-28
Hasanly @azerphoenix

Hello!
I myself am still studying java development and android development ...
But in android, for example, Java does not work on the JVM, but on the Dalvik VM and, accordingly, you simply cannot run java code on android, unless you install the intellij idea + development environment on android open jdk.
The native language for android today is kotlin, which also works on jvm and it is allowed to mix pieces of code even within the same class. I am not familiar with kotlin, but I write applications for android in java. As for the IDE, I usually use Android Studio or Intellij IDEA (by the way, Android Studio is based on Intellij IDEA Community Edition).

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question