Beginning Android Development
This chapter provides a quick introduction to Android and Android application development, bridging fundamental Java concepts with Android ones. It discusses Activities, Layouts, and Views along with other building blocks of Android applications. It teaches users how to write, build, and run event-driven applications on emulators and on physical Android devices. Other topics covered include LogCat debugging, Intents, and the Activity Lifecycle.
The following .zip download contains the full source code for each programming example provided in this chapter.
FirstApp v1: Our first Android application. Only contains MainActivity.
FirstApp Complete: Contains the complete source code for Chapter 7, including MainActivity, SecondActivity and CustomView.
Click Here to see how to import the above projects into your workspace.
By error, the download link provided in Chapter 4 (p. 108) directs you to this page. The following .zip download contains all assets used in Chapter 4 (p. 108). This download is NOT needed for Chapter 7.
If you get an error message saying ‘No system images installed…’ please see the following:
1. For a list of all known in-text errors, please see the Errata.
This section will be updated as needed. Please post on our forums if you need assistance or explanation on topics covered in this chapter.