How can i get the Path from a assosiated file with my App
If i tap on a file in Download my App comes up and i have
In Parametri i get "Parametri = content://com.android.externalstorage.documents/document/primary%3ADownload%2Fconf.dpn"
How can i extract the Path from this String, thats my problema, and get permission to Read this file
If i tap on a file in Download my App comes up and i have
B4X:
Activity_Create(FirstTime As Boolean)
'Do not forget to load the layout file created with the visual designer. For example:
'Activity.LoadLayout("Layout1")
Dim In As Intent = Activity.GetStartingIntent
Dim Parametri As String = In.GetData
If Parametri<>Null Then
In Parametri i get "Parametri = content://com.android.externalstorage.documents/document/primary%3ADownload%2Fconf.dpn"
How can i extract the Path from this String, thats my problema, and get permission to Read this file