Of course, it is public for all application! 2009/4/17 sunwrt <[email protected]>
> > Thank you, > > But what is the MODE of the file? > > > On 4月17日, 下午4时29分, Anh Khoa Nguyen Pham <[email protected]> wrote: > > Hi, > > Please use this command : > > > > FileOutputStream fos = new FileOutputStream(sdcardFile); > > > > Hope that it can help you! > > > > On Fri, Apr 17, 2009 at 3:26 PM, sunwrt <[email protected]> wrote: > > > > > 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 [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 -~----------~----~----~----~------~----~------~--~---

