If I use this path to a database on the sdcard, sql will always create and open the database in the data folder of my appication, it won't open the correct one on my sdcard. What do I need to use a path to a database on the sdcard?
String mPath = /storage/sdcard1/test.db
mDataBase = SQLiteDatabase.openDatabase(mPath, null, SQLiteDatabase.OPEN_READWRITE)
Aucun commentaire:
Enregistrer un commentaire