I need some advice on a problem I’m having. I’am developing an Android app to take control of mobile device and I run into a java.lang error.SecurityException: Injecting to another application requires INJECT_EVENTS permission error.
Reading on the network I found several not very clear articles that say that to solve this error the app must run as a system app and to do this it must be signed with certificates with which the ROM is signed.
Can you confirm if this is actually the case or give us indications on how to proceed to solve it?
I’m testing the app on a Samsung Galaxy A41 with Android 10
Thank you for participating in the Samsung Developer Forum. However, this is not the correct forum for end product bug reports, questions or concerns. This forum is for 3rd party developer issues.
This is an Android issue and you will probably need to get assistance from elsewhere.
Samsung Developer Community