Try uploading a file into the /mnt/sdcard dir (or maybe /sdcard?) using Eclipse's File Explorer window.
This will tell us if you have permission. On Thursday, July 19, 2012 4:53:58 PM UTC-5, marcpolo wrote: > > Thanks for the suggestion. I have the following in my manifest file > > <uses-permission android:name="android.permission.WRITE_INTERNAL_STORAGE"/> > <uses-permission android:name="android.permission.READ_INTERNAL_STORAGE"/> > <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/> > <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/> > > I am quite confident that I am writing to the write location because it > works when I run on the emulator. I think it may be a permissions issue > when running on my snowball board, or maybe due to a different versions of > android. > > On Thursday, 19 July 2012 21:56:26 UTC+1, bob wrote: >> >> Make sure you have WRITE_EXTERNAL_STORAGE permission and you are writing >> in the sd card directory (i.e. /mnt/sdcard/myfile.txt) >> >> >> >> On Thursday, July 19, 2012 2:06:40 PM UTC-5, marcpolo wrote: >>> >>> Hi, >>> >>> I am unable to get file IO working on my snowball board, with the log >>> reporting >>> >>> I have tried writing to internal and external space using both Java and >>> Native C++ code but to no avail. >>> >>> I get the message : File open failed : EACCES (permission denied). >>> >>> When I run on the emulator the FileIO works okay. >>> >>> Do I have to establish root permission within my Android applications >>> perform FileIO on my device? >>> >>> Could this be related to the version of Android running on my Snowball >>> board, compared with the emulator? >>> >>> 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

