开发者

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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜