Chapter 1

Getting Started with Java

Android is Google's software stack for mobile devices that includes an operating system and middleware. With help from Java, the OS runs specially designed Java applications known as Android apps. Because these apps are based on Java, it makes sense for you to learn about Java before you dive into the world of Android development.

NOTE: This book illustrates Java concepts via non-Android Java applications.

This chapter sets the stage for teaching you the essential Java concepts that you need to understand before you embark on your Android career. I first answer the “What is Java?” question. I next show you how to install the Java SE Development Kit, and introduce you to JDK tools for compiling and running ...

Get Learn Java for Android Development now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.