you must register and start it in SystemServer.java. 2012/2/17 Alex Li <lg76309...@gmail.com>
> Send an intent is the easiest way to start a activity,you can write a java > service,and control it by jni to start a activity or receive broadcasts. > > > 2012/2/16 dh <david.her...@uni-ulm.de> > >> Now I need to know how the service could: >>> 1) Start a GUI-related activity (.apk). >>> 2) Subscribe to receive broadcasts. >>> >>> >> These are tasks performed by ActivityManagerService, I think. See the >> (hidden/system-internal) interface of ActivityManagerService; you should >> find something useful in there. >> >> -- >> unsubscribe: android-kernel+unsubscr...@googlegroups.com >> website: http://groups.google.com/group/android-kernel >> > > -- unsubscribe: android-kernel+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-kernel