Chapter 13Putting SQL to Work

For the past thirty years, databases have been a staple of enterprise application development, but until recently they were too expensive and unwieldy for smaller-scale use. That has changed with small embedded engines such as the one included with the Android platform.

This chapter will show you how to use Android’s embedded database engine, SQLite. You’ll also learn how to use Android’s data binding to connect your data sources to your user interface. You’ll look at the ContentProvider class, which allows two applications to share the same data.

You can use ContentProviders and SQLite in your own apps to hold lists of addresses, orders, moves in a game, or a variety of other objects. Any time you have to remember ...

Get Hello, Android, 4th 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.