Android Database Best Practices
eBook - ePub
No longer available |Learn more

Android Database Best Practices

Adam Stroud

Share book
  1. 288 pages
  2. English
  3. ePUB (mobile friendly)
  4. Available on iOS & Android
eBook - ePub
No longer available |Learn more

Android Database Best Practices

Adam Stroud

Book details
Table of contents
Citations

About This Book

Battle-Tested Strategies for Storing, Managing, and Sharing Android Data

“Android™ Database Best Practices goes well beyond API documentation to offer strategic advice about how to handle data in an Android application and the tools needed to develop productively. This arms the developer with a trove of solutions to nearly any problem an application may face involving data. Mastering the concepts in this book are therefore essential for any developer who wants to create professional Android applications.”

–Greg Milette, Android developer, Gradison Technologies, Inc.

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 SQLite and the database-related classes on Android.

A part of Addison-Wesley’s Android™ Deep Dive series for experienced Android developers, Android Database Best Practices draws on Adam Stroud’s extensive experience leading cutting-edge app projects.

Stroud reviews the core database theory and SQL techniques you need to efficiently build, manipulate, and read SQLite databases. 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 is available for download at github.com/android-database-best-practices/device-database.

You will

  • Discover how 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

Normal 0 false false false EN-US X-NONE X-NONE

Frequently asked questions

How do I cancel my subscription?
Simply head over to the account section in settings and click on “Cancel Subscription” - it’s as simple as that. After you cancel, your membership will stay active for the remainder of the time you’ve paid for. Learn more here.
Can/how do I download books?
At the moment all of our mobile-responsive ePub books are available to download via the app. Most of our PDFs are also available to download and we're working on making the final remaining ones downloadable now. Learn more here.
What is the difference between the pricing plans?
Both plans give you full access to the library and all of Perlego’s features. The only differences are the price and subscription period: With the annual plan you’ll save around 30% compared to 12 months on the monthly plan.
What is Perlego?
We are an online textbook subscription service, where you can get access to an entire online library for less than the price of a single book per month. With over 1 million books across 1000+ topics, we’ve got you covered! Learn more here.
Do you support text-to-speech?
Look out for the read-aloud symbol on your next book to see if you can listen to it. The read-aloud tool reads text aloud for you, highlighting the text as it is being read. You can pause it, speed it up and slow it down. Learn more here.
Is Android Database Best Practices an online PDF/ePUB?
Yes, you can access Android Database Best Practices by Adam Stroud in PDF and/or ePUB format, as well as other popular books in Ciencia de la computación & Programación de dispositivos móviles. We have over one million books available in our catalogue for you to explore.

Table of contents