I'm trying to access android framebuffer device /dev/graphics/fb0 from
JNI function compiled by android NDK 1.5r1.
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.
ps: I logged the module using <android/log.h> and see the native
function is correctly loaded.
When I compile an excutable using the same function, I can get the
framebuffer file descriptor.
So how can I access /dev/graphics/fb0 from davlik JNI?
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---