Book Image

Android SQLite Essentials

By : Sunny Kumar Aditya, Vikash Kumar Karn
Book Image

Android SQLite Essentials

By: Sunny Kumar Aditya, Vikash Kumar Karn

Overview of this book

<p>SQLite is an open source relational database management system. Android uses the SQLite database to store and retrieve data persistently. The driving force behind the platform is the database, enabling a myriad of choices for developers making cutting-edge applications.</p> <p>Android SQLite Essentials focuses on the core concepts behind building database-driven applications. This book covers the basic and advanced topics with equivalent simplicity and detail, in order to enable readers to quickly grasp and implement the concepts to build an application database.</p> <p>This book takes a hands-on, example-based approach to help readers understand the core topics of SQLite and Android database-driven applications. This book focuses on providing you with latent as well as widespread knowledge about practices and approaches towards development in an easily understandable manner.</p>
Table of Contents (11 chapters)

Summary


In this chapter, we covered the steps of building up a database-based application, from scratch and then from schema to object model and then from object model to building actual databases. We underwent the process of building our database manager and finally implemented the UI database connect to achieve a fully functional application. The topics covered ranged from the building blocks of the model class, database schema to our database handler, and CRUD methods. We also covered the important concept of connecting a database to the Android views with proper hooks in place to pick up user data, add data to the database, and show relevant information after picking up data from the database.

In the next chapter, we will focus on building upon the groundwork we have done here. We will explore ContentProviders. We will also learn how to fetch data from ContentProviders, how to make our own content provider, the best practices associated while building them, and much more.