This is a client app for scrcpy written in Kotlin.Both Compose and SurfaceView are used.
- Enable Developer options on the server device(the Android device to be controlled).
- Enbale USB debug.
- Connect the server device to your PC via USB cable and activate the 5555 port:
adb tcpip 5555
- Install the app on the client device(Another Android device).
- Input the server device's IP and Port.
- Configure options such as resolution and BitRate.
- start!