Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • DownloadDownload
  • PrintPrint
Share this Page URL
Help

2. Exploring the Application Basics

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 that controls a single screen; the Intent class, Android’s powerful communications class; and the Application singleton class that can be accessed from all your components.

I recommend you open Eclipse and follow along as I cover the working parts of an Android application. I’ll be using the Android project with the main activity, called MyActivity, that you created in Chapter 1.


  

You are currently reading a PREVIEW of this book.

                                                                                        

Get instant access to over
$1 million worth of books and videos.

  

Start a Free Trial