Re: [android-developers] FileNotFoundException

2011-02-25 Thread TreKing
On Fri, Feb 25, 2011 at 11:17 AM, b_t wrote: > What is wrong? Should I check something else? What is "file"? Check the result of "mkdirs". Also, "widgets" is a terrible name for a folder to place at the root of the user's SD card. There are official ways of creating folders on the SD card for l

[android-developers] FileNotFoundException

2011-02-25 Thread b_t
Hi, I get the following exceptions (from my users) when I try to open a fileoutputstream: phone model: GT-I5800, android version: 2.1-update1, exception: java.io.FileNotFoundException: /sdcard/MYPATH/FILENAME at org.apache.harmony.luni.platform.OSFileSystem.open(OSFileSystem.java: 244)

[android-developers] filenotfoundexception on http get and post. just device. emu works

2010-07-29 Thread richie rich
anyone ever seen a HTTP get or post fail on device...same URLs work f ine in browser on device. same code works fine on emulator -- 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@googleg

Re: [android-developers] FileNotFoundException on FileOutputStream when writing on sdcard, no idea why

2010-02-11 Thread TreKing
On Wed, Feb 10, 2010 at 6:00 PM, gallagth wrote: > File file = new File("/sdcard/GPS Test/results/results.txt"); Are you certain this path exists on the SD card? - TreKing - Chicago transit tracking

[android-developers] FileNotFoundException on FileOutputStream when writing on sdcard, no idea why

2010-02-11 Thread gallagth
Hi, I'm trying to write a file to a sdcard, I'm using the same writeToFile() function in all my apps, and I dont know why, it wont work for this one, no idea why. It works for all the other apps, but not for this one. I have two classes, GPSTest, and GPSListener. writeToFile() is in GPSListener,

[android-developers] FileNotFoundException when creating FileOutputStream with file on sdcard

2008-10-06 Thread UBZack
Hi All, This is my code that successfully creates both the directory tree and the file "myFile.txt", and yet throws a FileNotFoundException when I try to call new FileOutputStream(file): File file = new File("/sdcard/zackcorp/myfiles", "myFile.txt"); file.mkdirs(); // creates /sdcard/zackcorp/m