Andrei wrote: > Can we assume that App can write to /sdcard some file? > What can be reason one can not do that?
You would not be able to write to /sdcard if there is no card there, or if the card is not mounted, if the device is hooked up to a PC via USB and the PC has mounted the card, or if this device doesn't use /sdcard for the SD card location (there's a static method on android.os.Environment to get the path to use). And, of course, the card could be full, the card could be damaged, the card could be replaced by a stick of gum, etc. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy _The Busy Coders' Guide to *Advanced* Android Development_ In Print! --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---

