sqliteopenhelper Questions

3

Solved

I've noticed in more than one SQLite tutorial that the table is recreated in the onCreate() event of the class that extends SQLiteOpenHelper. I've already created my SQLite database and tables outs...
Roybal asked 29/3, 2012 at 4:37

3

Solved

public class BobDatabase extends SQLiteOpenHelper{ private static final String DATABASE_NAME = "bob.db"; private static final int DATABASE_VERSION = 1; public static final String DEFAULT_PROFILE = ...
Yours asked 14/1, 2012 at 17:36

3

Solved

I have a problem and I am not sure how to approach it. An activity in my app has multiple AsyncTasks which access single SQLiteOpenHelper. I initialize and open the helper in onCreate() and I am cl...
Serriform asked 22/9, 2011 at 11:29

2

Solved

In my android app: How can I get access to Context in the onCreate method of the SQLiteOpenHelper?
Armbruster asked 14/6, 2011 at 20:54

1

Is there any difference between these two methods? Both return an opened SQLiteDatabase. Both can create a database if one doesn't exist. SQLiteOpenHelper also has getWriteableDatabase when read/wr...
Willard asked 31/5, 2011 at 20:39

© 2022 - 2024 — McMap. All rights reserved.