1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-07-25 02:15:24 +02:00
tldr/pages/common/scrcpy.md

33 lines
842 B
Markdown
Raw Normal View History

2020-10-07 20:29:43 +00: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`
- Turn the device screen off and prevent it from sleeping while mirroring:
2020-10-28 21:19:43 +07:00
`scrcpy {{[-S|--turn-screen-off]}} {{[-w|--stay-awake]}}`
2020-10-28 21:19:43 +07:00
- Display a mirror of a specific device based on its ID or IP address (find it under the `adb devices` command):
2020-10-07 20:29:43 +00:00
`scrcpy {{[-s|--serial]}} {{0123456789abcdef|192.168.0.1:5555}}`
2020-10-07 20:29:43 +00:00
- Start display in fullscreen mode:
2020-10-07 20:29:43 +00:00
`scrcpy {{[-f|--fullscreen]}}`
2020-10-07 20:29:43 +00:00
- Show touches on physical device:
`scrcpy {{[-t|--show-touches]}}`
2020-10-07 20:29:43 +00:00
- Record display screen:
`scrcpy {{[-r|--record]}} {{path/to/file.mp4}}`
2020-10-07 20:29:43 +00:00
- Specify the target directory for pushing files to device by drag and drop (non-APK):
2020-10-07 20:29:43 +00:00
`scrcpy --push-target {{path/to/directory}}`