Android Question file dialog

ivavilagu

Member
Licensed User
Longtime User
I have a problem with file dialog view. When I try in an emulator it works fine but when I try in a Samsung S6 it shows a blank screen when files don´t see. S6 has marshmallow version.



This is the code, quite simple:

B4X:
Dim fd As FileDialog, strFILENAME, strDIR As String                               
    fd.FastScroll = True                                                            'Se muestra un diálogo donde se pide el archivo excel
    fd.FilePath = File.Combine(File.DirRootExternal, "Download/")
    fd.FileFilter = ".xls"
    fd.Show("Seleccione el archivo "".xls"" con la lista de máquinas", "Aceptar", "Cancelar", "", Null)
    strFILENAME = fd.ChosenName
    strDIR = fd.FilePath
 

Attachments

  • Captura de pantalla 2016-06-06 a las 9.46.03.png
    Captura de pantalla 2016-06-06 a las 9.46.03.png
    64.1 KB · Views: 355
  • Screenshot_20160606-094843.png
    Screenshot_20160606-094843.png
    71.8 KB · Views: 378
Top