I know that injecting touch events from one app into another app in Android requires a system signature from ROM.
Only by turning it into a system app can you use system privileges such as <uses-permission and roid:name="android.permission.INJECT_EVENTS"> </uses-permission>
.
But AirDroid
app can control mobile phones through PC
, and it can do it without USB line. How can it be done? Who knows its principle?
I want to develop an APK
that can simulate input events, just as AirDroid
can operate a mobile phone.