ADB Enable "Drawing over other apps"
I use ADB for these few things for now:
1. transfer file
$ adb pull /sdcard/Pictures/screenshot1.png . # download a picture from Android device to local
$ adb push screenshot2.jpg /sdcard/Pictures/. # upload to Android device
2. install apk app
$ adb install examples.apk # install apk app from local to the Android device
3. screen capture / screenshot
$ adb shell screenshot -p /sdcard/Pictures/screenshot1.png
Note: -p for png format.
4. Enable "Drawing over other app"
TimeNetSpeed app can display Internet download speed over other application. I was not able to enable it on Android TV. The error is: need "Drawing over other app" permission, but there is no such option to enable the permission.
$ adb shell appops set visnkmr.apps.timenetspeed SYSTEM_ALERT_WINDOW allow
Note: To disable $ appops set visnkmr.apps.timenetspeed SYSTEM_ALERT_WINDOW deny
No comments:
Post a Comment