I use the following bit of code to modify a specific database on Lollipop (it works fine, by the way):
SQLiteDatabase db = openOrCreateDatabase("/data/data/com.myapp.identifier/databases/database.db", null);
But for some strange reason, it crashes on Pre-Lollipop devices with the error "Unknown Error: Unable to open database (error 14)". Any insight on how to adjust this to work with pre-lollipop devices would be greatly appreciated. If any additional info (more code) is needed, please let me know and I will provide it.
Aucun commentaire:
Enregistrer un commentaire