I want to show a button only if an SD card is present, so I do:
BtnRegisterOpen.Visible = (File.ExternalWritable = True)
Unfortunately, the button stays visible, although I removed the SD card.
Did I miss something ?
I can successfully read folder structure of sd card or usb pendrive like this: Log(File.ListFiles("/storage")) I use only one type of android device, so the /storage is ok.
I can sense attaching and removing on the fly.
The result of the directory listing looks like that...