[android-developers] Re: How to write a file with directory ?

2009-04-17 Thread Anh Khoa Nguyen Pham
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 wrt.su...@gmail.com wrote: Hi,Guys, I wrote a file to the sdcard, but it failed as follow: String sdcardFIle = /sdcard/xxx.txt

[android-developers] Re: How to write a file with directory ?

2009-04-17 Thread sunwrt
Thank you, But what is the MODE of the file? On 4月17日, 下午4时29分, Anh Khoa Nguyen Pham npak...@gmail.com 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 wrt.su...@gmail.com

[android-developers] Re: How to write a file with directory ?

2009-04-17 Thread Anh Khoa Nguyen Pham
Of course, it is public for all application! 2009/4/17 sunwrt wrt.su...@gmail.com Thank you, But what is the MODE of the file? On 4月17日, 下午4时29分, Anh Khoa Nguyen Pham npak...@gmail.com wrote: Hi, Please use this command : FileOutputStream fos = new FileOutputStream(sdcardFile);

[android-developers] Re: How to write a file with directory ?

2009-04-17 Thread sunwrt
It is what I want it. Thank you. On 4月17日, 下午4时34分, Anh Khoa Nguyen Pham npak...@gmail.com wrote: Of course, it is public for all application! 2009/4/17 sunwrt wrt.su...@gmail.com Thank you, But what is the MODE of the file? On 4月17日, 下午4时29分, Anh Khoa Nguyen Pham