In This Chapter
Earlier in this book, we illustrated the capabilities of the Android SDK. But simply showing you its capabilities leaves out an essential portion of your understanding — how you can, starting from just an idea about what your app is supposed to do, design and implement it. In other words, we walk you through the use of all the ingredients in your kitchen but don't show you how to cook something good to eat! Therefore, we now interrupt our regularly scheduled programming to segue into how to design an Android application.
This chapter is, in a sense, a complement of Chapter 3, where we explained what the Android Application Model and the Android framework are, using the Tic-Tac-Toe example as the medium). In this chapter, we show you how to design Tic-Tac-Toe from scratch and implement it within the Android framework.
As college professors, we have seen literally thousands of students develop software. When we began writing this book, we pondered what special value we could bring to the project. We determined that we could best contribute by providing a lesson on how to write good software — in particular, software written within a framework such as the Android SDK.
When writing ...