O'Reilly logo

Android™ 3 SDK Programming For Dummies® by Rajiv Ramnath

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 3

Making Apps Using the Android SDK

In This Chapter

  • Implementing a basic Android application
  • Understanding the Android Application Model
  • Creating a sample Tic-Tac-Toe application

If you read only one chapter in this book, this chapter is the one we suggest. We use the Tic-Tac-Toe sample application to illustrate the various components of the Android SDK and the Android Application Model. If you read this chapter in its entirety, you should have a working knowledge of all Android SDK components and capabilities. The main concept, however, is the Android Application Model: It gives you a sense of how other built-in components (such as activities, views, menus, preferences, intents, and intent filters) and capabilities (such as files and SQLite) work together within this model.

One quick note before we get into this chapter. To fully understand what is presented here, you must be familiar with the system architecture of an Android device and an Android application and the application model that Android applications must conform to, and you must know how to install the development tools, create a project for the application, recognize the various code and configuration files in the project, import code into the project, and, finally, build and run an application. We have covered these elements in Chapters 1 and 2, so either read them before reading this chapter, or refer back to them as needed.

Also, the code examples in this chapter are from two Eclipse projects, namely, ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required