Sub Button2_Click
Dim FP As String
If File.IsDirectory(File.DirRootExternal,"Textos") Then
FP = File.Combine(File.DirRootExternal,"Textos")
Else
FP = File.DirRootExternal
End If
Dim fd As FileDialog
fd.FastScroll = True
fd.FilePath = FP ' also sets ChosenName to an emtpy string
fd.FileFilter = ".txt" ' for example or ".jpg,.png" for multiple file types
ret = fd.Show("Abrir Texto", "Abrir", "", "", Null)
ToastMessageShow(ret & " : Path : " & fd.FilePath & CRLF & "File : " & fd.ChosenName, False)
EditText1.Text = File.ReadString(fd.FilePath,fd.ChosenName)
End Sub