Chapter    18

Managing Databases with Android

Files are not the only way to store information from your application onto an Android device. Every Android device ships with an embedded and embeddable database known as SQLite. Those of you familiar with SQLite know that it represents a rock-solid database engine that ships as a single library, and that it can be included in all manner of applications. SQLite has been around for almost 20 years and has proven itself one of the winners in the “small but mighty” database category.

For those of you not familiar with SQLite, or its Android capabilities, let me quickly walk you through the database fundamentals of using SQLite, and how to use it with Android to build up a simple database-driven application. ...

Get Beginning Android, Fifth Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.