public class DictionaryOpenHelper
extends android.database.sqlite.SQLiteOpenHelper
| Constructor and Description |
|---|
DictionaryOpenHelper(android.content.Context context)
Create DictionaryOpenHelper object
|
| Modifier and Type | Method and Description |
|---|---|
void |
onCreate(android.database.sqlite.SQLiteDatabase dictionaryDb)
Called when the dictionary database is created for the first time, therefore create tables.
|
void |
onUpgrade(android.database.sqlite.SQLiteDatabase dictionaryDb,
int oldVersion,
int newVersion)
Called when the dictionary database needs to be upgraded.
|
public DictionaryOpenHelper(android.content.Context context)
context - Android Application Contextpublic void onCreate(android.database.sqlite.SQLiteDatabase dictionaryDb)
onCreate in class android.database.sqlite.SQLiteOpenHelperSQLiteOpenHelper.onCreate(android.database.sqlite.SQLiteDatabase)public void onUpgrade(android.database.sqlite.SQLiteDatabase dictionaryDb,
int oldVersion,
int newVersion)
onUpgrade in class android.database.sqlite.SQLiteOpenHelperSQLiteOpenHelper.onUpgrade(android.database.sqlite.SQLiteDatabase, int, int)This documentation is licensed by Andrew Bowley under the GPLv3 License.