Hi all
I am working on version 5.80 of B4A, how can I display a file dialogue ?
I have tried:
But an error occurred in the wait statment.
I am working on version 5.80 of B4A, how can I display a file dialogue ?
I have tried:
B4X:
Dim fd As FileDialog
fd.FilePath = File.DirRootExternal
Dim sf As Object = fd.ShowAsync("Select file", "Yes", "Cancel", "No", Null, False)
Wait For (sf) Dialog_Result(Result As Int)
If Result = DialogResponse.POSITIVE Then
Log("File path: " & fd.FilePath)
Log("File name: " & fd.ChosenName)
End If