Hello,

Assuming I am able to sign my application with vendor's certificate,
how do I get the access to such file as /dev/graphics/fb0? It required
for process to have "graphics" gid, but I can only get the "system"
uid by using the android:sharedUserId="android.uid.system".

The process with uid "system" can start new process by sending the
command to Zygote with "-classpath" parameter. So my intention was to
start a new process with "graphics" gid, open the device file and send
the file descriptor back to parent process using Binder's ability to
share file descriptors between processes. The problem that when
forking zygote with "-classpath" parameter, new process does not have
the standard Android runtime initialized, so I don't have the Context
initialized and there is no entry point for using binder. Is it
possible to use the Binder for communication between two processes
directly without using services like ServiceManager or
ActivityManager? Like send the binder handle integer to another
process via command line parameter, so that process open the channel
using this handle?

-- 
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: http://groups.google.com/group/android-porting

Reply via email to