File Picker Working
This code works that I got from DialogsDemo.b4a
Slightly modified below:
Dim ret As String
Dim fd As FileDialog
fd.FastScroll = True
'fd.ShowOnlyFolders = True
'fd.FilePath = File.DirRootExternal ' also sets ChosenName to an emtpy string
fd.FilePath = "/mnt/sdcard/Documents/" ' also sets ChosenName to an emtpy string
'fd.ShowOnlyFolders = true
'fd.FileFilter = ".txt" ' for example or ".jpg,.png" for multiple file types
ret = fd.Show("B4A File Dialog", "Yes", "No", "Maybe", Bmp)
ToastMessageShow(ret & " : Path : " & fd.FilePath & CRLF & "File : " & fd.ChosenName, False)
For whatever reason the code from WiKi was not clear enough. I did have a spelling error - but I would work with the spelling error just wouldn't find as much.