B4X FEED SDK 29 : how copy file from another (my) app

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

درباره موضوع در تاریخ, در دسته b4xfeed ایجاد شده و آغاز کننده آن practicalsoftمی باشد و موضوع آن: SDK 29 : how copy file from another (my) app است. این موضوع تا کنون 63 بازدید کننده و, 0 پاسخ داشته و 0 بار پسندیده شده...
نام دسته b4xfeed
نام موضوع SDK 29 : how copy file from another (my) app
آغاز کننده موضوع practicalsoft
تاریخ شروع
پاسخ‌ها
0
بازدیدها
63
پسندها
0
آخرین ارسال توسط PracticalSoft
وضعیت
موضوع بسته شده است و نمی‌توان پاسخ جدیدی فرستاد.
Jun 6, 2020
11,517
4,383
Hi all,

As you know, only a few months before the obligatory switch to targetSdkVersion 29.

I have 2 applications with database, one free and one full.

Until now, in the free, my database is in File.DirDefaultExternal, and when the user installs the complete one, I copied the database from the free to the complete one.
So until SDK28, with the RuntimePermissions.PERMISSION_WRITE_EXTERNAL_STORAGE permission I could easily recover the database from free to full.

Now with SDK 29 I can no longer do this ☹.

How can I get this file back? There must be some place left on the phone's "hard drive" to do this?

Thank you.

 

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