Learning Android™ Application Programming: A Hands-On Guide to Building Android Applications
by James Talbot, Justin McLean, Jorge Hernandez
Summary
Organizing your code logically into separate classes makes it much easier to maintain and test. You can do this easily in Eclipse by using refactoring, which automatically changes all the appropriate names of classes, properties, and methods to prevent errors. After optimizing your code, you can use a Toast pop-up to indicate when a user has changed a setting and to tell the user what happens when that setting changes.
Android-specific functionality includes adding a back button, home button, and action bar and building a simple menu system. Android also gives you options for persisting data, such as implementing the SQLite database. You can use a simple data model in your Android application to store information. You use the SQL language ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access