Home > Mobile >  Online, such as: how to do the background Service to capture a touch screen event (Down, Move, Up),
Online, such as: how to do the background Service to capture a touch screen event (Down, Move, Up),

Time:03-14

Doing a background application recently, need to monitor the user's mobile phone fly gesture on the screen, determine the user is double refers to press 2 or 3 s refers to certain gestures, such as decline and then pop up the corresponding prompt information to users ~

Current also think of some way to, such as: create a small virtual View, at the same time monitoring external events, but only the first to get the first Down event (i.e. ACTION_OUTSIDE), is suitable for the scenario, you just need to click the events captured the following is a reference links; and I want to get all the events, please everyone a great god some directions
http://jhshi.me/2014/11/09/monitor-screen-touch-event-in-android/

Also look at the event, the principle of touch, didn't quite understand, have no confidence to rewrite the corresponding interface for touch screen events ~