Opening and Creating Databases without the SQLiteHelper:
You can create and open databases without using the SQLiteHelper class with the
openOrCreateDatabase method on the application Context.
Setting up a database is a two-step process.
First, call openOrCreateDatabase to create the new data-base.
Then, call execSQL on the resulting database instance to run the SQL commands that will create
your tables and their relationships.
No comments:
Post a Comment