Back to project page MyJournal.
The source code is released under:
GNU General Public License
If you think the Android project MyJournal listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.shane87.myjournal; /*from w w w . j av a 2 s .c o m*/ import com.shane87.myjournal.JournalContract.JournalDb; import android.content.Context; import android.database.sqlite.SQLiteDatabase; import android.database.sqlite.SQLiteOpenHelper; public class JournalDbHelper extends SQLiteOpenHelper{ public static final int DATABASE_VERSION = 1; public static final String DATABASE_NAME = "JournalEntries.db"; public JournalDbHelper(Context context) { super(context, DATABASE_NAME, null, DATABASE_VERSION); } public void onCreate(SQLiteDatabase db) { db.execSQL(JournalDb.getSqlCreateEntries()); } public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) { } }