Giter Club home page Giter Club logo

scrcpy-android's Introduction

scrcpy-android

  • This application is android port to desktop applicaton Scrcpy.

  • This application mirrors display and touch controls from a target android device to scrcpy-android device.

  • scrcpy-android uses ADB-Connect interface to connect to android device to be mirrored.

Download

scrcpy-release-v1.2.apk

Instructions to use

  • Make sure both devices are on same local network.

  • Enable ADB-connect/ADB-wireless/ADB over network on the device to be mirrored.

  • Open scrcpy app and enter ip address of device to be mirrored.

  • Select display parameters and bitrate from drop-down menu(1280x720 and 2Mbps works best).

  • Set Navbar switch if the device to be mirrored has only hardware navigation buttons.

  • Hit start button.

  • Accept and trust(check always allow from this computer) the ADB connection prompt on target device(Some custom roms don't have this prompt).

  • Thats all! You should be seeing the screen of target android device.

  • To wake up device, double tap anywhere on screen.

  • To put device to sleep, close proxmity sensor and double tap anywhere on the screen.

  • To bring back the local android system navbar while mirroring the remote device, swipe up from the bottom edge of screen.

Building with Gradle

./gradlew assembleDebug

scrcpy-android's People

Contributors

tailcode avatar updeshxp avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

scrcpy-android's Issues

Black screen error.

Hi . I deployed app from android studio to my device. When ı tryed connect to another device from app , ı can see only black screen . It's my debug console output.


W/System.err: java.net.SocketException: Broken pipe
W/System.err:     at java.net.SocketOutputStream.socketWrite0(Native Method)
W/System.err:     at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:109)
W/System.err:     at java.net.SocketOutputStream.write(SocketOutputStream.java:153)
W/System.err:     at java.io.DataOutputStream.write(DataOutputStream.java:107)
W/System.err:     at org.las2mile.scrcpy.Scrcpy.startConnection(Scrcpy.java:165)
W/System.err:     at org.las2mile.scrcpy.Scrcpy.access$000(Scrcpy.java:29)
W/System.err:     at org.las2mile.scrcpy.Scrcpy$1.run(Scrcpy.java:73)
W/System.err:     at java.lang.Thread.run(Thread.java:764)

Is it support multi-touch?

I have tried some game which required multi-touch in scrcpy. However, it seems didn't work. For example, if I use my left finger to control to direction and user my right finger to control jump. When I entered the jump button with my right finger, the left finger didn't leave the screen and the character stop move. Is there some method to fix it?

Distorted picture

This is an excellent project, thank you very much for your efforts. But when I try to project the TV screen to the mobile phone (I want to switch the program through the mobile phone), the screen is distorted, and I can't help it horizontally. Or I want to get a 1080x1920 picture instead of 1920x1080.
look:
https://pics.images.ac.cn/image/5ed463e96a69d.html

Is it possible to custom resolution?

I succesffully scrcpy my phone to my pad!Thanks for your hard working!
But I foud something can prove.
Nowadays many smartphone are not 16:9,but in app we cannot custom the resolution mannuly which caused the image stretched.
Another thing, is it possible that makes the app float in the pad for example which like little window.
Sincerely Looking forward for your reply!

It need to be updated

Delay is too high,maybe new server version(1.14) can solve it.
I'm not a programmer ,so which big brother can update the scrcpy to v1.14 ?
Aslo,the Screen Resolution and Code Rate should be higeher ~
Wait for the big brother to take me to fly ~😀

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.