I created a sqlite database using an android app and I stored it in my external disk. The database name is sensor.sqlite and the file path is
Environment.getExternalStorageDirectory()+ File.separator + "data" + File.separator +"sensor.sqlite"
However in this line of code
this.getWritableDatabase();
An exception -> not an error (code 0): Could not open the database in read/write mode was thrown.
I have read related posts
getWritableDatabase() VS getReadableDatabase()
Open Database for ReadWirte not possible on specific device
But I haven't found an answer.
Do you have any idea? Thank you.
Regards, Jimmy
Aucun commentaire:
Enregistrer un commentaire