For several years I have left my app unmodified, so set on an old sdk (18 I think), and been able to access a database on my external SD card.
Now I need to update it and with SDK30 I have run into problems with accessing a SQLite database, called MusicBase.db, which must reside on an SD card on my new Android tablet.
My program has no problem identifying that the database exists in this path: /storage/9C33-6BBD/tmm_music/Database/MusicBase.db
I have read all I can find about external storage access, but I have found no references to how to initialize a database file on an external SD card.
I have tried to apply the ExtStorage class methods with - so far- no success.
Can anyone point me in the right direction?
Now I need to update it and with SDK30 I have run into problems with accessing a SQLite database, called MusicBase.db, which must reside on an SD card on my new Android tablet.
My program has no problem identifying that the database exists in this path: /storage/9C33-6BBD/tmm_music/Database/MusicBase.db
I have read all I can find about external storage access, but I have found no references to how to initialize a database file on an external SD card.
I have tried to apply the ExtStorage class methods with - so far- no success.
Can anyone point me in the right direction?