O'Reilly logo

Java for Android, Second Edition by Budi Kurniawan

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 41

Working with the Database

Android has its own technology for working with databases and it has nothing to do with Java Database Connectivity (JDBC), the technology Java developers use for accessing data in a relational database. In addition, Android ships with SQLite, an open source database.

This chapter shows how to work with the Android Database API and the SQLite database.

Overview

Android comes with its own Database API. The API consists of two packages, android.database and android.database.sqlite. Android ships with SQLite, an open source relational database that partially implements SQL-92, the third revision of the SQL standard.

Currently at version 3, SQLite offers a minimum number of data types: Integer, Real, ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required