Today I released my new Android SQLite and ContentProvider book for the Kindle device.
This book demonstrates how you can develop Android applications using the integrated SQLite database. It also demonstrates how to use and create ContentProvider for accessing data. ContentProviders are Java classes which allow to share data between applications. They also provide a structured interface to access data. The tutorials of this book have been developed and tested with Android 4.0.3, API Level 15.
The book assumes that you are already familiar with the Android Development Tools for Eclipse and with creating simple Android applications.
You find the book in all Amazon stores:
Android SQLite and ContentProvider Book in Amazon USA
Android SQLite and ContentProvider Book in Amazon Germany
Android SQLite and ContentProvider Book in Amazon UK
Android SQLite and ContentProvider Book in Amazon France
Android SQLite and ContentProvider Book in Amazon ES
Android SQLite and ContentProvider Book in Amazon IT
The first chapter gives an introduction into SQLite and using SQlite on Android.
The second chapter introduces the main SQLite classes and how to use them. It also gives examples how to create and run queries to your database.
The third chapter contains a tutorial in which you create a new Android project which uses SQLite to store its data. In the tutorial you will use a wrapper class (data access object) which handles the access to the database.
In the fourth chapter we look at ContentProviders. It explains what a ContentProvider is, how you can access existing ones and how to define your own one.
In this chapter you also learn how to define a ContentProviders only visible to your application and learn about threading safety with ContentProvider.
The next chapter is a tutorial which shows how to access an existing ContentProvider. You create an Android application which access the data from the “People” application .
The sixth chapter explains the Loader API which was introduced in Android 3.0. Loader loads the data asynchronously. Activities should use this new API to manage their database connection (Cursor).
The seventh chapter is a tutorial in which you create an application to manage your tasks. You create your own ContentProvider for accessing the SQLite database and use the Loader API for accessing and managing the database Cursor.
Accessing the SQLite database directly on the command line is part of the eighth chapter.
The content of the book is similar to the online version.
I’m again surprised how much work it is to convert my website content into a book format. I hope you like this book.