Android Database Best Practices

Android Database Best Practices

By: Adam Stroud (author)Paperback

Only 2 in stock

£18.69 RRP £21.99  You save £3.30 (15%) & FREE Saver Delivery on orders over £25


Battle-Tested Strategies for Storing, Managing, and Sharing Android Data This is the first guide to focus on one of the most critical aspects of Android development: how to efficiently store, retrieve, manage, and share information from your app's internal database. Through real-world code examples, which you can use in your own apps, you'll learn how to take full advantage of Android's SQLite database and related classes. The newest title in Addison-Wesley's Android(TM) Deep Dive series for experienced Android developers, Android(TM) Database Best Practices draws on Adam Stroud's extensive experience leading cutting-edge app projects. First, Stroud reviews the core database theory and SQL techniques you need to efficiently build, manipulate, and read SQLite databases. Next, he explores SQLite in detail, illuminates Android's APIs for database interaction, and shares modern best practices for working with databases in the Android environment. Through a complete case study, you'll learn how to design your data access layer to simplify all facets of data management and avoid unwanted technical debt. You'll also find detailed solutions for common challenges in building data-enabled Android apps, including issues associated with threading, remote data access, and showing data to users. Extensive, up-to-date sample code will be available for download. With this indispensable guide, you will * Discover how Android's lightweight SQLite database differs from other relational databases* Use SQL DDL to add structure to a database, and use DML to manipulate data* Define and work with SQLite data types* Persist highly structured data for fast, efficient access* Master Android classes for create, read, update, and delete (CRUD) operations and database queries* Share data within or between apps via content providers* Master efficient UI strategies for displaying data, while accounting for threading issues* Use Android's Intents API to pass data between activities when starting a new activity or service* Achieve two-way communication between apps and remote web APIs* Manage the complexities of app-to-server communication, and avoid common problems* Use Android's new Data Binding API to write less code and improve performance

Create a review

About Author

Adam Stroud is an Android developer who has been developing apps for Android since 2010. He has been an early employee at multiple startups including RunKeeper, Mustbin, and Chef Nightly, and has led the Android development from the ground up. He has a strong passion for Android and open source and seems to be attracted to all things Android. In addition to writing code, has also written other books on Android development and enjoys giving talks on a wide range of Android topics including Android development and gaining root access on Android devices. He loves being a part of the Android community and getting together with other Android enthusiasts to "geek out". Adam is currently the technical co-founder and lead Android architect at a new startup where he oversees the development of the Android app.


Preface Chapter 1: Relational Databases Chapter 2: An Introduction to SQL Chapter 3: An Introduction to SQLite Chapter 4: SQLite in Android Chapter 5: Working with Databases in Android Chapter 6: Content Providers Chapter 7: Databases and the UI Chapter 8: Sharing Data with Intents Chapter 9: Communicating with Web APIs Chapter 10: Data Binding

Product Details

  • publication date: 29/07/2016
  • ISBN13: 9780134437996
  • Format: Paperback
  • Number Of Pages: 288
  • ID: 9780134437996
  • weight: 363
  • ISBN10: 0134437993

Delivery Information

  • Saver Delivery: Yes
  • 1st Class Delivery: Yes
  • Courier Delivery: Yes
  • Store Delivery: Yes

Prices are for internet purchases only. Prices and availability in WHSmith Stores may vary significantly