开发者

How to start an Activity from the running service ( like the input method ) in the "Running services" page

开发者 https://www.devze.com 2023-03-23 21:40 出处:网络
as you can find in the \"Running services\" page, like the softkeyboard, \"input method: touch to manage\", can start a custom Activity。

as you can find in the "Running services" page, like the softkeyboard, "input method: touch to manage", can start a custom Activity。 my service is not a input method or wallpaper or so, ho开发者_运维问答w to do it ?


you cannot do it from the Running Services page.

The only way to start a service is through an intent, which your Service must be listening to, as declared in your manifest. Please consult the documentation.

0

精彩评论

暂无评论...
验证码 换一张
取 消