Android gamepad background service

My friends and I are trying to use keystrokes on an Android keyboard to make phone calls. We want this to work even if the device is asleep. What will be the approach to this? I found android.view.InputDevice and KeyEvent callbacks. Will this work on a task that was in the background and the device was asleep?

+4
source share

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


All Articles