开发者

Remote Control on rooted device

开发者 https://www.devze.com 2023-01-27 12:10 出处:网络
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?

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

精彩评论

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