Chapter    1

Getting Started With Java

Android is Google’s software stack for mobile devices. This stack consists of applications (or apps as they are commonly called), a virtual machine (software-based processor and associated environment) in which apps run, middleware (software that sits on top of the operating system and provides various services to the virtual machine and its apps), and a Linux-based operating system.

Android apps are written in Java and use various Java Application Program Interfaces (APIs). Because you will want to write your own apps but may be unfamiliar with the Java language and these APIs, this book teaches you about Java as a first step into app development. It provides you with the fundamentals of the Java language ...

Get Learn Java for Android Development, Second Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.