LightBlog

lundi 12 mars 2018

Control your Android Smartphone from your PC for free with scrcpy

Smartphones are an essential part of modern life. To some people, the phone is even more important than a standard computer. A lot of people sit at computers all day, but they still have to check their phone for certain things. A new tool called “scrcpy” allows you to display your phone screen on your computer with just a USB connection and ADB. No root required.

The developer says scrcpy works on Windows, Mac, and Linux. It works by executing a server on the device. scrcpy communicates with the server via a socket over an adb tunnel. Your screen is streamed as an h.264 video, which is then decoded and displayed by scrcpy. Keyboard and mouse input is sent to the server and pushed to the device. scrcpy focuses on lightness, high-performance, high-quality, low latency, fast start-up, and non-intrusive. Here’s how to get it set up.

  1. Download this zip file from Github.
  2. Extract the file somewhere you will remember, then add the location of adb.exe (inside the extracted folder) to your PATH variable.
    • Windows 10: System Properties > Environment Variables, then click ‘Path’ on the lower (System variables) box, then click Edit, then New, then paste in the full path – C:/Users/you/wherever/adb.exe for example – and OK your way back out.
  3. Enable ADB on your phone/tablet, plug it in, allow the connection on the device.
  4. Enter srcpy in the command line from inside the previously extracted folder. That’s it!

Interacting with the phone is a simple as you would expect. Just click to tap and click and drag to swipe. App orientation should also be translated to the screen.


Source: rom’s blog
Instructions: Reddit



from xda-developers http://ift.tt/2IkWAmR
via IFTTT

Aucun commentaire:

Enregistrer un commentaire