Hi all: Now I have a Android Application with an jni library, my java app can call the jni function to open a device under /dev/. But I meet a problem, because the device fd have root right, but my Android application user id is App_17, a "permission denied" error is returned.
How to resolve this issue? My idea is: create a native deamon with root permission which can open/ read/write the /dev/ fd. The java app talk with the deamon by IBinder interface to read/write the fd. I don't know what is the common solution on Android platform for such issue. Could you help me? Regards --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "android-framework" 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-framework?hl=en -~----------~----~----~----~------~----~------~--~---
