• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Copying the database under Android 11
#1
I'm trying to synchronize my database with my old methods with my Android phone and struggling with the new restrictions of Android 11 (well, not so new any more).

I have the storage location with my files on a SD disk with the same data structure as on Win10 and the database is on "exposed". So can the database be and work in the storage location on the SD disk? In the settings you say that the default application dir can be used. Where is that or rather what is its path? Which one has priority if there's a database in both?
Reply
#2
I do not allow the database file to be stored on a removable SD card to avoid many potential issues. If you enable the Expose Database option but you are using an SD card for the storage location, the database will be stored at /storage/emulated/0/Android/data/com.zubersoft.mobilesheetspro/files. That file path may not be accessible by other apps on the tablet, but it is accessible if you connect a PC with a usb cable and use Windows File Explorer. 

Mike
Reply
#3
Thanks, that helped. Actually the right path on my device is 

Interner gemeinsamer Speicher\Android\data\com.zubersoft.mobilesheetspro\files

(nothing with 0 or emulated). Accessing with USB did the trick. From the device didn't work and only showed empty paths.

BUT, there was no mobilesheets.db in that dir and it seemed to work from the db in the storage location on the external SD. Even the file date of that db changed to the recent write date after closing MS. Are you sure "you don't allow the database working from the external disk" (weird as the question is)?
Reply
#4
I'm sure that is true unless you've adopted the SD card as the primary storage for the device which changes all the rules. Then it's treated as if it is internal storage, but if the card is removed or not fully loaded when you load MobileSheets, you'll run into some pretty major issues.

Mike
Reply
#5
I don't think it is. I never liked the idea, never consciously formatted the external SD as primary storage and it isn't labeled as "internal storage" or "adopted storage".
I'll experiment with moving the database and see what happens.

...

No, it's definitely loading from external storage. I moved it and it wasn't found by MS, möved it back and was found again. I guess I'll leave it at that because it's easier to move than always to have to use a USB cable and it' only a secondary place to have MS on the phone anyway (it's a Sony Xperia ön Android 12 BTW).
Reply




Users browsing this thread:
4 Guest(s)


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2024 MyBB Group.