I am having an issue with the Dialogs library. When I use the FileDialog to view a list of files, a blank screen is shown. However, the screen is not blank you just can't see the files because of the colors. I do not see a way to change the forground colors. If you put your finger on the dialog window to scroll, the background turns dark gray and then you can see the list of files. If I set the scrolling color to white so it should to show the names, then you see nothing. I am sure it is the Forked 2.2 Android that is the cause of this. If there anything that can be done as I would like to not have to reinvent the wheel.
B4X:
Sub Globals
Dim filefrom As FileDialog
filefrom.FilePath = "/mnt/sdcard/My Files/Videos"
filefrom.FileFilter = ".mp4"
End Sub
Sub Activity_Create(FirstTime As Boolean)
filefrom.Show("List Of MP4s", "", "", "", Null)
End Sub
I recreated pretty much the same code you had, except I was searching for db files. I installed the below code on a 7 inch tablet running Froyo 2.2 OS and on another 7 inch running ICS 4.03. Both worked very well without any problems. I can see the files, the dialog box and I can select any of them. To confort you, your code is not the culprit. Try it on another device. Hope things are well in Ga.
B4X:
'BELOW TO SHOW FILES FILTERED BY EXTENSION
DBFilePath = File.DirRootExternal
Dim filefrom As FileDialog
filefrom.FilePath=DBFilePath
filefrom.FileFilter=".db"
'BELOW TO SHOW FILES FILTERED BY EXTENSION
filefrom.Show("List Of db files", "", "", "", Null)
That is what I though would happen. But I wanted to use them on this device and I am sure it is an issue with their own fork of Android. I was hoping one of the Experts would know a way to use reflection or other to change the colors of the list text. The problem is the default systems dialogs background color is white. I also, think the list text color is white and this is why I can't see anything. The only thing I really need is a way to set the list items text color.