开发者

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

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜