Genymobile / Genymobile/scrcpy
How to send custom adb commands through your server?
- Dominant language
- C
- Stars
- 150k
- Forks
- 13.7k
- Avg merge
- 4d 13h
- Merged PRs (30d)
- 2
Description
Hello developers, I am new to scrcpy, this is a great application because of the speed of its communication with android devices. I am using c # to automate android.
I am wanting to go through a scrcpy server to improve the speed of sending custom commands to an android device. I finished starting up the scrcpy server from the c# code associated with the SharpAdbClient library.
My problem is not knowing how to send custom adb commands. For example: `uiautomator dump/dev/tty` and get the device's xml layout. or send touch commands, swipe in custom position. or adb command to take individual screenshots (only 1 image at a time) ...
Is there any example code or documentation to do the above? any example code or documentation is appreciated. Thanks a lot.
Contributor guide
No contributing guide indexed for this repository
Research direction
The issue names no repository file, test, or entry point; first clarify whether scrcpy supports forwarding custom ADB commands through its server. Use the requested uiautomator dump, touch/swipe, and single-screenshot cases as acceptance examples; done would require documented example code or a confirmed limitation.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, csharp
- Domain
- mobile-dev
- Issue type
- Documentation
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100