Remote Control on rooted device
I know you need a root access to do Remote Control on Android.
so given it is a rooted device, how do I access screen / inject keys?
Use IWindowManage开发者_JAVA百科r? But IWindowManager is still hidden on rooted device.
Grant READ_FRAME_BUFFER, INJECT_EVENTS permissions? Do I then use: cat /dev/graphics/fb0 to grab screenshot?
use adb shell input keyevent 82 or something similar to inject keys
精彩评论