Programming in Java for Android looks and feels very similar to other Java platforms. The basic syntax is the same, and as I’ll describe most of the Java’s core APIs work just like they do elsewhere. But there are some critical differences. And that’s because the version of Java you use in Android isn’t exactly the same as Oracle’s version.
- [Voiceover] Programming in Java…for Android apps looks and feels…very similar to other Java platforms.…The basic syntax is the same, and most of Java's…core APIs work just like they do elsewhere.…But there are some critical differences.…And that's because the version of Java…that you use in Android isn't exactly…the same as Oracle's version.…The version of Java in Android…is based on Apache Harmony,…an open-source implementaion of Java…that was created by the Apache Foundation…as a clean room implementation.…
Harmony, itself, was discontinued in late 2011.…But Google still maintained its custom…implementation that was based on Harmony.…And that's the implementation of Java…that you're using up through the current…version of Android, as of the time…of this recording, Android 6.0 Marshmallow.…Google announced in December 2015,…that the next major version of Android,…currently known as Android N, would replace…this custom implementation of Java with OpenJDK,…Oracle's own open-source implementation…of Java that it licenses freely.…
Author
Updated
8/24/2017Released
3/18/2016Watch these Java tutorials to learn smarter, more efficient methods for Android app development.
- Preparing the development environment
- Packaging and running Android apps
- Optimizing Java code for Android
- Implementing event handler interfaces
- Defining custom callback methods
- Working with the Android SDK's Java packages
- Storing data
- Reading text files
- Parsing JSON and XML data
- Managing device sensors
- Playing audio
Skill Level Beginner
Duration
Views
Related Courses
-
Learning Java 8
with Peggy Fisher3h 9m Beginner -
Java Essential Training for Students
with Peggy Fisher3h 6m Intermediate -
Java 8 Essential Training
with David Gassner6h 7m Beginner
-
Introduction
-
Welcome48s
-
What you need to know2m 18s
-
Using the exercise files3m 38s
-
What's new in this update?1m 19s
-
-
1. Getting Started
-
2. Android's Implementation of Java
-
3. Common Java Design Patterns in Android
-
Manage async tasks in fragments11m 19s
-
4. The Android SDK's Java Packages
-
Manage local databases10m 57s
-
Read text files from assets9m 20s
-
Parse JSON formatted data8m 29s
-
Parse XML formatted data9m 52s
-
5. Android-Specific Java Packages
-
Manage device sensors8m 4s
-
Use text to speech6m 39s
-
Play audio files8m 39s
-
6. Java 8 Syntax for Android
-
Explore more Java syntax1m 24s
-
Conclusion
-
Next steps1m 13s
-
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.
CancelTake notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.
Share this video
Embed this video
Video: Java syntax and APIs in Android