Overview Overview Search Search Up Up
Download details
SQLite database tutorial SQLite database tutorial HOT

How to create and use a SQLite database in Android applications

So you’ve got this data that you need to save. Why not put it into a SQLite database?

What’s a SQLite database?

It’s a popular, open source database engine found on many small devices.

It stores data in a file on your device. The data is secure and only accessible by the app that created it.

You can store different data types like strings, long, float, etc. without any problems.

You can also share the data with other apps if you choose to by using a Content Provider.

Working with the database

I’ll explain how to use a SQLite database with the help of an example.

I want to save the names, email addresses and phone numbers of my friends. Let’s see how it’s done.



Size2.85 MB
Language English
LicenseGNU/GPL external
AuthorThis email address is being protected from spambots. You need JavaScript enabled to view it.
WebsiteWebsite external
Created byClive Sargeant
Changed byClive Sargeant