thanks for the response. IMHO the Android filesystem should have a /tmp directory, which is used for temporary files when /sdcard isn't connected to anything. i realise that Android is very much a bazaar rather than a cathedral, but advising people to put temp files wherever they want is asking for a big mess.
also IMHO, File.createTempFile() should *always* create a file which is writable, regardless of underlying platform specifics such as a lack of something connected to /sdcard. if no /sdcard, use /tmp. like most other linuxen known to man. tx j >Well... you can make a temp file wherever you want. Depending on >what you want to do, either the SD card or your own internal data >directory would make sense. The trade-offs are: > >(1) The internal data directory is secure, so if you are putting ANY >private information (passwords, mail messages, chat data, etc) in the >temp file you should put it in internal storage. >(2) The SD card generally has a lot more storage available, so if you >are going to be writing multiple megabytes of data then the SD card is >a better choice. >(3) The SD card may not be available... but in that state the camera >can't take pictures, etc, so it should be unlikely. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

