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 7

Designing Your Application's Logic and Data

In This Chapter

  • Applying object-oriented design techniques and guidelines and design patterns in your Android app
  • Incorporating your design into the Android framework and the Android Application Model

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.

Understanding Best Practices in Application Design

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 ...

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