Why is this a "programming mistake"? Big bold line squiggled.
Also not working, but that will be a New Thread!
Also not working, but that will be a New Thread!
B4X:
Sub Process_Globals
Private rp As RuntimePermissions
'Private Shared As String
Public PMCDirectory As String
' ...
Sub GetConfigFile() As ResumableSub
Dim FirstConfig As Boolean
Dim i As Int
' Permissions --------------------------------------------------------------------
PMCDirectory = rp.GetAllSafeDirsExternal("")
rp.CheckAndRequest(rp.PERMISSION_WRITE_EXTERNAL_STORAGE)
Wait For Activity_PermissionResult (Permission As String,Result As Boolean)