Back to project page ArrecebaAndroid.
The source code is released under:
GNU General Public License
If you think the Android project ArrecebaAndroid 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 br.com.projetointegrador.DAO; /*w ww . j av a 2 s . c om*/ import android.app.Activity; import android.content.Context; import android.database.sqlite.SQLiteDatabase; public abstract class SQLite { public static SQLiteDatabase db; public static Activity context; public SQLite(Activity context) { SQLite.context = context; CreateOrOpenDatabase(); } public void CreateOrOpenDatabase() { db = SQLite.context.openOrCreateDatabase("arreceba", Context.MODE_WORLD_READABLE, null); } protected abstract void CreateTable(); }