B4X FEED Sharing data files with SDK 29 and above

اطلاعات موضوع

درباره موضوع در تاریخ, در دسته b4xfeed ایجاد شده و آغاز کننده آن practicalsoftمی باشد و موضوع آن: Sharing data files with SDK 29 and above است. این موضوع تا کنون 69 بازدید کننده و, 0 پاسخ داشته و 0 بار پسندیده شده...
نام دسته b4xfeed
نام موضوع Sharing data files with SDK 29 and above
آغاز کننده موضوع practicalsoft
تاریخ شروع
پاسخ‌ها
0
بازدیدها
69
پسندها
0
آخرین ارسال توسط PracticalSoft
وضعیت
موضوع بسته شده است و نمی‌توان پاسخ جدیدی فرستاد.
Jun 6, 2020
11,517
4,383
SDK 29 has the following feature:
  • No permission to access File.DirRootExternal, even with the STORAGE permission.
There's workaround for the manifest files, but it's temporary and issue will just be postponed to SDK 30.

I have suite of apps, composed by 2 different apps:
  1. a "writer", that writes data in a SQLite database
  2. a "reader", which access the database for data extraction and reporting

Until now, I was able to create a directory right under DirRootExternal, where the "writer" could create and populate the database, and the "reader" could subsequently read back data.
This needs to be changed for Android 10+.

While I understand the security reason behind not allowing one app to access data belonging to a different one, what alternative options are available?
Database can grow large, so sending it back and forth the 2 apps, doesn't seem to be a viable option.

Looks like a FileProvider use case, but current user workflow doesn't...



 

وضعیت
موضوع بسته شده است و نمی‌توان پاسخ جدیدی فرستاد.
عقب
بالا