ws-scrcpy
ws-scrcpy copied to clipboard
Possible to control wifi toggles
is it possible to add wifi on and off toggles in ui
Why? There are no other controls like this. And you can always turn it on/off from the device UI (needless to say you must select proxy over adb from Network Interface before connection).
i have functionality requirement of running some commands like this adb shell svc wifi enable adb shell svc wifi disable adb shell svc data disable adb shell svc data enable
Is there a problem to run them from included remote shell (#!action=shell link in the last column)? Or do you just want a shortcut?
required shotcut so less technical people can use it
I have no intention to implement this feature myself at the moment. But PR are welcome.
what message I should send to websocket to start an appPackage or appActivity? please share an example command message
what message I should send to websocket to start an appPackage or appActivity?
This feature is not supported, you can only start an app manually by clicking on its icon. All control messages classes are in https://github.com/NetrisTV/ws-scrcpy/tree/master/src/app/controlMessage