Android Question Select a file

I tried the dialog class, but using the theme Holo.light, the text color is same as background.
It seems very strange that B4A not implement a native class for file selection.
 
Upvote 0
Thanks Erel,

this code select a file:
Code:
Dim cc As ContentChooser
   
cc.Initialize("cc")
cc.Show("*/*","Open File")

but
Code:
Sub cc_Result (Success As Boolean, Dir As String, FileName As String)
    Dim nameFile As String        'in Globals
    Dim pathDir As String        'in Globals
   
    If Success = True Then
        nameFile = FileName
        pathDir = Dir
    End If
End Sub
does not return the desired result
 
Upvote 0
Back
Top