alexdonnini wrote:
> Hello,
> 
> Using a call such as
> 
> new FileWriter("/data/"+fileName)
> 
> causes an IO exception.

Because that's not a good spot for you to be putting your own data.

Use Context#getFilesDir() to find the base directory for data storage 
for your application, or write them to a mounted /sdcard.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com
_The Busy Coder's Guide to Android Development_ Version 1.9 Published!

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to