B4X FEED ExternalStorage.SelectDir never sends ExternalFolderAvailable, terminates program

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

درباره موضوع در تاریخ, در دسته b4xfeed ایجاد شده و آغاز کننده آن practicalsoftمی باشد و موضوع آن: ExternalStorage.SelectDir never sends ExternalFolderAvailable, terminates program است. این موضوع تا کنون 39 بازدید کننده و, 0 پاسخ داشته و 0 بار پسندیده شده...
نام دسته b4xfeed
نام موضوع ExternalStorage.SelectDir never sends ExternalFolderAvailable, terminates program
آغاز کننده موضوع practicalsoft
تاریخ شروع
پاسخ‌ها
0
بازدیدها
39
پسندها
0
آخرین ارسال توسط PracticalSoft
Jun 6, 2020
11,559
4,422
I am trying to access the external microSD card on my Samsung S8+ tablet running Android 12. When I use this code:

Private Sub pb_TestIt_Click
Storage.SelectDir(True)
Wait For Storage_ExternalFolderAvailable
TestIt2
End Sub


I get the directory chooser window, can choose a directory and then click Allow in the permissions dialog which closes the chooser window. But then I return to the home screen and not my application. A breakpoint on the "TestIt2" sub is never reached.

Yet when I compile and run the example application, it works perfectly on the same tablet and OS. I have made sure the Module Attributes and Manifests are identical in both programs. Both programs dim the object in Process_Globals and initialize it successfully in Activity_Create.

What am I missing? (Thanks in advance for your help!)

Doug Tittle

 

عقب
بالا