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 8

Making Your Application Fast and Responsive

In This Chapter

  • Applying nonfunctional requirements to Android apps
  • Constructing your app to perform well
  • Making your application appear responsive

An app that is successful in gaining user acceptance must meet two kinds of requirements: functional and nonfunctional. Functional requirements describe what the app must do (the functions it must perform). A wayfinding app, for example, must allow the user to plot a route from one location to another. As another example, the Tic-Tac-Toe application must show you a board and enable you to place Xs and Os on it. These functional requirements describe what is needed to “build the right app.”

While most developers realize that their apps must implement these functional requirements, they don't focus enough effort on meeting nonfunctional requirements, which mandate how the app must do what it does. Nonfunctional requirements provide guidelines on how to “build the app right.”

In this chapter, we focus on nonfunctional requirements and identify three that apply especially to Android apps: performance, battery conservation, and responsiveness. We then show you ways in which to meet these nonfunctional requirements.

Becoming Familiar with Nonfunctional Requirements

It's a statement worth repeating: Nonfunctional requirements (NFR) — also known as quality requirements or design requirements — provide guidelines on how to build an app right. For example, you might consider it appropriate ...

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