Cover art for Android Database Best Practices
Published
Addison-Wesley, July 2016
ISBN
9780134437996
Format
Softcover, 288 pages
Dimensions
22.9cm × 17.9cm × 1.5cm

Android Database Best Practices

Not in stock
Fast $7.95 flat-rate shipping!
Only pay $7.95 per order within Australia, including end-to-end parcel tracking.
100% encrypted and secure
We adhere to industry best practice and never store credit card details.
Talk to real people
Contact us seven days a week – our staff are here to help.

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.

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.

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

Related books