ADB

ppadb와 pynput을 활용했습니다. 디바이스 키값은 adb devices를 통해 얻어낼 수 있습니다. from ppadb.client import Client as AdbClient from pynput.keyboard import Key, Listener import time # Default is "127.0.0.1" and 5037 client = AdbClient(host="127.0.0.1", port=5037) device = client.device("ce0*******642702") # device.shell("logcat", handler=dump_logcat) isNotPressRight = True isNotPressLeft = True isNotPressUp = True isN..
· Tool/scrcpy
안드로이드 기기를 USB나 over TCP/IP를 통해 연결하고 컴퓨터에 화면을 출력할 수 있습니다. 루트 권한이 없어도 됩니다. GNU/Linux, Windows and macOS에서 동작합니다. It focuses on: 가벼움 (native, displays only the device screen) 성능 (30~60fps) 품질 (1920×1080 or above) 낮은 지연속도 (35~70ms) 짧은 구동시간 (~1 second to display the first image) 안드로이드 기기에 별도의 설치가 필요없습니다. Requirements 안드로이드 기기 API 21 (Android 5.0) 필요. enabled adb debugging 기기에 디버깅모드 설정해야 합니다. Windows ..
_world
'ADB' 태그의 글 목록