Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class MyDatabaseHelper extends SQLiteOpenHelper {
- // FILE_DIR your app folder on sdcard, say my_app
- // DATABASE_NAME whatever file name you chose, say db.sqlite
- // DATABASE_VERSION
- public MyDatabaseHelper(Context context) {
- super(context, Environment.getExternalStorageDirectory()
- + File.separator + FILE_DIR
- + File.separator + DATABASE_NAME, null, DATABASE_VERSION);
- }
- .
- .
- .
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement