Android Question Detect SD card with (File.ExternalWritable = True) does not seem to work

MitchBu

Well-Known Member
Licensed User
Longtime User
I want to show a button only if an SD card is present, so I do:

B4X:
BtnRegisterOpen.Visible = (File.ExternalWritable = True)

Unfortunately, the button stays visible, although I removed the SD card.

Did I miss something ?

Thank you.
 
Last edited:
Top