Is regular Java the same as the Java for Android?
If yes - from where can I download a good java reference?
Looking for something like: Command | small sample | short Explanation
What is the difference between Android and Java? Java is a programming language, while Android is a mobile phone platform. Android development is java-based (most of the times), because a large portion of Java libraries is supported in Android.
Class libraryJava 8 source code that works in latest version of Android, can be made to work in older versions of Android.
Absolutely. Java is still 100% supported by Google for Android development. The majority of Android apps today have some mix of both Java and Kotlin code. Developers can build the same functionality with Java as they can with Kotlin.
A copy of the latest OpenJDK comes bundled with Android Studio 2.2 and higher, and this is the JDK version we recommend you use for your Android projects.
Yes it is. The syntax is exactly the same and you can use the same methods that are available in Java SE. Android has its own SDK (Software Development Kit) which is specific Java classes and methods for Android, i.e. dealing with click events and user interface.
However, although Java and Android Java is the same, certain libraries you add for extra functionality may or may not work. I.e. the MySQL Connection library if you try and import that for use with Android it will display an error and your android app will not compile until the MySQL library is removed from the project.
Hope this makes sense to you
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With