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
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)
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
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
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,
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
6 matches
Mail list logo