Addison-Wesley, 2017. — 284 p. — (Android Deep Dive). — ISBN: 978-0-13-443799-6.
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.
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.
About the Author
Relational Databases
An Introduction to SQL
An Introduction to SQLite
SQLite in Android
Working with Databases in Android
Content Providers
Databases and the UI
Sharing Data with Intents
Communicating with Web APIs
Data Binding