Hi,Guys,

I  wrote a file to the sdcard, but it failed as follow:

   String sdcardFIle = "/sdcard/xxx.txt"
   FileOutputStream fos = openFileOutput(sdcardFile,
Context.MODE_WORLD_WRITABLE);

openFileOutput failed, because fIle  "/sdcard/xxx.txt" contains a path
seperator.

It is so strange. Is there  another way to handle the situation ???

Thanks in advance
--~--~---------~--~----~------------~-------~--~----~
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
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to