Jump to content
Android Forum - A Community For Android Users and Enthusiasts

Catch touches in background service


Recommended Posts

Hello everybody,

I want to provide user with a way to control my application then it is in background. I implemented special hidden area in a corner via overlay. But such solution has lots of restrictions: only 2 possible actions for each hidden area (one for regular touch and other for long press), other applications use the same behavior (area can be overlapped) etc.

While searching for alternatives I found the AGS application here.This application uses gesture and it catches them everywhere on the screen.

AFAIK it is impossible to do with overlay, Am I right? Any ideas how to implement such behavior?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Create New...