Hello,

Using a call such as

new FileWriter("/data/"+fileName)

causes an IO exception.

Based on documentation for the FileWriter constructor used above, the
IO exception may be caused by the inability to create a file.

If I "push" in the data directory a file named fileName (i.e. the
value of the string fileName), the FileWriter constructor works as
expected.

Would anyone be able to tell me why I am able to copy a file into /
data but am not able to create a new file using the FileWriter
construct?

Am I making a mistake somewhere?

I would appreciate help in resolving this problem.

Thanks.

Alex Donnini
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to