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 <[email protected]>

> 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: [email protected]
> website: http://groups.google.com/group/android-kernel
>

-- 
unsubscribe: [email protected]
website: http://groups.google.com/group/android-kernel

Reply via email to