CHAPTER 7

image

Using SQLite with Android/Java

In part because it’s lightweight and in the public domain, SQLite is an obvious choice for many projects where there are constraints on space, power, and cost. For those and other reasons, it’s built into a variety of operating systems and is used on many devices.

This chapter shows you some of the key elements of using SQLite with Android. It’s built into android.database.sqlite, so it’s there for you to use. The basics of using SQLite are the same whether you’re using PHP to build a web site (see Chapters 6 and 10) or you’re using Core Data on iOS or OS X (see Chapters 8 and 12).

Integrating SQLite with ...

Get Introducing SQLite for Mobile Developers 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.