Skip to content Skip to sidebar Skip to footer

Global Control Handler

I have an Android service that runs in background. I need it to recieve feedback (and stop, for example) just when user did something, no matter if it's only touch event on homescr

Solution 1:

While I highly doubt that there is an easy way to do this, you can register intents and intercept the messages for your own purpose. Have a look at the intent library for specific intents that you might hijack for your application. You may find further information in the android documentation on intent filters.


Post a Comment for "Global Control Handler"