Posts

Showing posts from 2019

Android Key Injection

 In android, you can able to remap the given input at the running time. For example, you can remap the volume up button to volume down action all over your android device. This we can able to do in the application layer if we have an Inject_Event_Permission.      Inject_event_permission helps application developers to Remap and Inject the keys to any other applications. But for injecting the key events using Inject_event_permission requires the Accessibility service.     Since the Accessibility service works at the layer of the android framework. It can be able to capture the key events before it reaches the application layer. Also, we require the Instrumentation.java class to remap the keys.    Instrumentation is internally working with Android Input manager and also it can remap the keys. But it requires some of the key parameters for remapping the keys.  Questions :  1 . What is the purpose of Inject_Event_Permission?              In android, we can control another app