O'Reilly logo

Learning Android™ Application Programming: A Hands-On Guide to Building Android Applications by Jorge Hernandez, Justin McLean, James Talbot

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

9. Tuning Your Bike: Optimizing Performance, Memory, and Power

It never gets easier, you just go faster.

Greg LeMond

In the last chapter you invited friends for a ride using social network integration. You did this visually by integrating the entire photo taking process into the On Your Bike application. In this chapter, you will fix a design flaw of the application, which is the unpredictable behavior of the timer. You will do this by setting the application to run as a service, which will optimize the user experience and help keep the timer running consistently.

Power management can greatly affect the user experience and in this chapter you will learn how to see what your application is consuming as well as how Android handles power management. ...

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