Professional Documents
Culture Documents
Sqlite 2
Sqlite 2
The version of SQLite depends on the version of Android. See the following table:
• creating
• opening
• closing
• inserting
• updating
• deleting
• querying
openOrCreateDatabase()
This method will open an existing database or create one in the
application data area SQLiteDatabase myDatabase;
myDatabase.execSQL(createTable);
Insert Records long insert(String table, String nullColumnHack,
ContentValues values) import android.content.ContentValues;