mardi 5 janvier 2016

edit database file existing in sdCard directly

i want to edit an existing .db file in SDCard directly... by this , using this code:

public void openDataBase() throws SQLException{
String myPath = DB_PATH + DB_NAME;
myDB = SQLiteDatabase.openDatabase(myPath, null,SQLiteDatabase.OPEN_READWRITE);

it's possible to copy that database to /data/data/PACKAGE_NAME/databases/ and then edit it, but i want to edit it directly .... help plz... tanx...

Aucun commentaire:

Enregistrer un commentaire