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

10. Taking the Training Wheels Off: Testing Your Application

I thought of that while riding my bicycle

Albert Einstein

In the last chapter, you worked hard to optimize the On Your Bike application. You set up the application to run as a service, which made the timer more consistent. You also made sure location sensing was set up as a service, so you could track riders even when the application was not open. You explored and optimized the power consumption of the application and added database indices to speed up database access. You also used the AsyncTask class to speed up database access.

In this book, so far, you have simply fixed errors as they occurred. This can be problematic as it is possible to introduce new errors into the code when ...

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