Chapter 2. Exploring the Application Basics

I’m sure you’re ready to roll up your sleeves and write more code. However, there are a few topics in the realm of theory and design to cover in detail first. In this chapter, we’ll cover the basics of some essential building blocks, including the files, parts, and terms that make up a simple Android application; the Activity class, which controls a single screen; the Intent class, Android’s powerful communications class; and the Application singleton class, which can be accessed from all your components. There is one more key component for your Android toolset, the Fragment, but we’ll cover that later on; it’s not necessary to understanding the basics.

I recommend you open your IDE and follow along ...

Get Beginning Android Programming: Develop and Design 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.