I have an Android Wear app in which I use a transparent overlay view to recieve touch events. I need to be able to receive all touch events that happen anywhere on the screen, and also be able to see their coordinates.
All research I have found says that I cannot recieve all touch events and pass them on. However, Wear Mini Launcher and Swipify are both doing something like this.
Here is where I have looked:
- Android overlay to grab ALL touch, and pass them on?
- https://stackoverflow.com/questions/19356834/overlay-view-which-intercepts-some-events
- Android - Intercept and pass on all touch events
- Android : Multi touch and TYPE_SYSTEM_OVERLAY
- Creating a system overlay window (always on top)
- Getting the View that is receiving all the touch events
- Android Jelly Bean service that receives all touch events
- TYPE_SYSTEM_OVERLAY in ICS
- Overlay App that reacts only on some touch events
This must be possible to do somehow. Maybe an overlay view is not the right way to approach this? Any pointers?