On Sep 16, 6:30 pm, ZaichengQi <[email protected]> wrote:
> I wrote a JNI funtion from my test module using "fbfd = open("/dev/
> graphics/fb0", O_RDWR)", but the errno from <errno.h> returns me
> EACCES.

# ls -l /dev/graphics/fb0
crw-rw---- root     graphics  29,   0 2009-09-17 11:00 fb0

If you're not user "root" or group "graphics", the failure is
expected.

One of the other mailing lists might be more appropriate (android-ndk
for NDK questions, android-platform for permission stuff, etc).

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to