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 android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to