2020-10-07 21:29:43 +01:00
|
|
|
# scrcpy
|
|
|
|
|
|
|
|
> Display and control your Android device on a desktop.
|
|
|
|
> More information: <https://github.com/Genymobile/scrcpy>.
|
|
|
|
|
|
|
|
- Display a mirror of a connected device:
|
|
|
|
|
|
|
|
`scrcpy`
|
|
|
|
|
2020-10-28 14:19:43 +00:00
|
|
|
- Display a mirror of a specific device based on its ID or IP address (find it under the `adb devices` command):
|
|
|
|
|
|
|
|
`scrcpy --serial {{0123456789abcdef|192.168.0.1:5555}}`
|
|
|
|
|
2020-10-07 21:29:43 +01:00
|
|
|
- Start display in fullscreen mode:
|
|
|
|
|
|
|
|
`scrcpy --fullscreen`
|
|
|
|
|
|
|
|
- Rotate the display screen. Each incremental value adds a 90 degree counterclockwise rotation:
|
|
|
|
|
|
|
|
`scrcpy --rotation {{0|1|2|3}}`
|
|
|
|
|
|
|
|
- Show touches on physical device:
|
|
|
|
|
|
|
|
`scrcpy --show-touches`
|
|
|
|
|
|
|
|
- Record display screen:
|
|
|
|
|
|
|
|
`scrcpy --record {{path/to/file.mp4}}`
|
|
|
|
|
2024-02-09 13:55:36 +00:00
|
|
|
- Specify the target directory for pushing files to device by drag and drop (non-APK):
|
2020-10-07 21:29:43 +01:00
|
|
|
|
|
|
|
`scrcpy --push-target {{path/to/directory}}`
|