Coder Social home page Coder Social logo

lj569831248 / scrcpy-mobile Goto Github PK

View Code? Open in Web Editor NEW

This project forked from wsvn53/scrcpy-mobile

0.0 0.0 0.0 10.3 MB

Ported scrcpy for mobile platforms, to remotely control Android devices on your iPhone or Android phone.

License: MIT License

Shell 2.55% C++ 4.54% C 7.19% Objective-C 65.66% Java 16.27% Makefile 0.84% CMake 2.95%

scrcpy-mobile's Introduction

scrcpy-mobile

Ported scrcpy for mobile platforms, to remotely control Android devices on your iPhone or Android phone.

Currently only supports controlling Android devices from iOS, Android controlling Android devices will be supported in futrue.

screenshots

Features

  • Supports scrcpy with ADB over WiFi ;
  • With Hardware decoding, less power and CPU comsumed;
  • Optimized gesture experiences for unstable network from mobile devices;
  • Supports start scrcpy from URL scheme;
  • Supports pair Android device with Pairing Code;
  • With Android navigation buttons: Back, Home, Switch App;
  • Supports toggle iOS keyboard and send keys to remote device;
  • Sync clipboard contents between iPhone and remote Android devices;
  • Support adbkey management: generate, modify, import, export;

Installation

Scrcpy Mobile is now available on the App Store. You can download from:

Get it from iTunes

Usage

ADB Mode:

After the App is installed, the default mode is VNC. You can switch to ADB WiFi mode by one of the following options:

  • Option 1: Visit this URL Scheme by click scrcpy2://adb
  • Option 2: Type the text adb in the Host textbox, then click Connect
  • Option 3: Type the text 5555 in the Port textbox, then click Connect

And then please make sure that the Android devices has enabled the adb tcpip mode:

adb tcpip 5555

After authorized on your Android devices, scrcpy will continue to connect.

Or Pair with Pairing Code:

This only works on Android 10+ devices:

  • Click "..." menu icon on the top-left corner of Scrcpy Remote main window;
  • Click "Pair With Pairing Code";
  • Then on the Android device, go to:
    • Settings -> System -> Developer Options -> Enable Wireless Debugging -> Pair device with pairing code

Then just follow the tips on Android device to start pair.

VNC Mode:

You can switch back to VNC mode by one of the following options:

  • Option 1: Visit the URL Scheme by click scrcpy2://vnc
  • Option 2: Type the text vnc in the Host textbox, then click Connect
  • Option 3: Type the text 5900 in the Port textbox, then click Connect

Note: The VNC mode can only connect the VNC port that be proxied with websockify, and it's based on noVNC which is a web vnc client, so the performance and experience may not good.

URL Scheme:

After changed the options, you can click "Copy URL Scheme" to get the URL Scheme string, and you can create a shortcut in Shorcuts.app for connecting to scrcpy quickly.

scrcpy2://example.com:5555?bit-rate=4M&max-size=1080

Telegram Support:

If you still have any question, you can join telegram channel:

telegram

Build

Build all dependencies:

make libs

Build scrcpy-server:

make -C porting scrcpy-server

Then, Open scrcpy-ios/scrcpy-ios.xcodeproj to Build and Run.

License

MIT License

Copyright (c) 2022 Ethan

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

scrcpy-mobile's People

Contributors

wsvn53 avatar wzyboy avatar

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.