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
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