There is definitely something I missunderstand !
Exploring the tablet I can see :
- /mnt/sdcard (explorer says : Internal memory)
- /mnt/extsd/sdcard1 (empty slot)
- /mnt/extsd/sdcard2 (empty slot)
- /mnt/usbhost/usb1 (empty slot)
- /mnt/usbhost/usb2 (USB key)
Somewhere in my app, I have
File.MakeDir( File.DirRootExternal, "Saisie" )
The folder is created in /mnt/sdcard
So, when I call File.ExternalWritable I guess "/mnt/sdcard" is checked and that's why the app crashes when I try
to write on "/mnt/usbhost/usb2" with a read-only key.
Now, how to check if /mnt/usbhost/usb2 is writable ??
Thks Erel