Skip navigation

Create an SQLite database

Create an SQLite database: Android App Development Essentials: Local Data Storage
Create an SQLite database: Android App Development Essentials: Local Data Storage

The first step in working with SQLite in Android is to define your database and table structure. The best practice for this is to create a Java class that extends a class named SQLiteOpenHelper. I'll describe how to do this in this project named CreateDatabase. David starts by defining a database table. He usually creates a Java class for each table, and defines the table’s name and columns as constants of that class.

Resume Transcript Auto-Scroll
Skill Level Intermediate
3h 9m
Duration
14,362
Views
Show More Show Less

Continue Assessment

You started this assessment previously and didn't complete it. You can pick up where you left off, or start over.

Start Your Free Trial Now

Start your free trial now, and begin learning software, business and creative skills—anytime, anywhere—with video instruction from recognized industry experts.

Start Your Free Trial Now