System-wide TouchEvent on Android

I would like to get TouchEvent in the Android application at any time , the screen is touched on the screen. Even if my application is out of focus.

Is it possible to write a common even filter for listening or intent?

The goal is to write a system gesture system engine. So, for example, if the user has deployed, and then down, a specific application will be launched regardless of where the user is located.

Thank,

+3
source share
2 answers

I want to receive TouchEvent in an Android app anytime the screen is affected. Even if my application is not in focus.

SDK. .

+3

Launcher , .

. , ​​ .

0

Source: https://habr.com/ru/post/1763340/


All Articles