I am getting below error:
not an error (code 0): Could not open the database in read/write mode.
I have added
In Android API 4.3 and lower you can open databases in external SD Card, this code was working for read and write :
SQLiteDatabase.openDatabase(DB_PATH, null,SQLiteDatabase.NO_LOCALIZED_COLLATORS);
Starting from API 4.4 you only can open databases in external SD Card READ_ONLY, you have to use this code :
SQLiteDatabase.openDatabase(DB_PATH, null,SQLiteDatabase.OPEN_READONLY);
I hope this helps.