My question is directly related to this question. The answer to this question shows how you can create a ViewGroup , embed it inside a WindowManager and allow the WindowManager catch a MotionEvent through an onTouchEvent(MotionEvent event) . WindowManager.LayoutParams.FLAG_WATCH_OUTSIDE_TOUCH is a flag that allows this ViewGroup to receive MotionEvent s. However, according to the documentation, this flag
... won't get a full move down / move / up
I want to know if there is a work or a way so that I can get all the touch events, including down, move and up. The proof of concept is in the Wave Launcher application, which uses the same concept, but can receive more than just one ACTION_OUTSIDE event.
Brian source share