“ADB ScreenRecord” Réponses codées

magnétophone

$ adb shell screenrecord /sdcard/video.mp4
#if you just get a black screen from recording - the resolution could be too high
#set a custom record resolution with --size parameter

$ adb shell screenrecord --size 1280x720 /sdcard/video.mp4
AskJeeves

ADB ScreenRecord

# get device IMEI
adb shell "service call iphonesubinfo 1 | cut -c 52-66 | tr -d '.[:space:]'"

# get device phone number
adb shell "service call iphonesubinfo 18 | cut -c 52-66 | tr -d '.[:space:]+'"

# get Android ID
adb shell settings get secure android_id

# get device Serial Number
adb shell getprop ro.serialno

#Note: No root is needed for any of the above commands
Clean Capybara

Réponses similaires à “ADB ScreenRecord”

Questions similaires à “ADB ScreenRecord”

Parcourir les réponses de code populaires par langue

Parcourir d'autres langages de code