xSAVIKx/AndroidScreencast
关于
在 PC 上查看并控制 Android 设备。
效率与自动化可以做什么
- No client needed
- Support for Tap and Swipe gestures
- Write messages using PC keyboard
- Support for landscape mode
实测星标增长
- 24小时
- 0
- 7天
- 0
- 15天
- 0
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文AndroidScreencast
View and control an Android device from your desktop over adb. There is nothing to install on the
phone, so you can use it even when the phone screen is broken.
Download the latest release (you need Java 8 or newer)

Features
- No client needed
- Support for Tap and Swipe gestures
- Write messages using PC keyboard
- Support for landscape mode
- Browse your phone files on PC
- Record video of your phone screen while browsing
Configuration
There are 2 ways to run application:
- Run ADB server on your own.
- Provide a correct
app.propertiesfile.
Run ADB server on your own
In order to run server on your own you have to run already installed (or one from our OS-specific bundle) adb with
following command:
adb start-server
Note:
If app.properties will have adb.path filled, AndroidScreencast will shutdown the ADB server on application
termination.
Additionally, in order to use for example remote ADB server with ssh forwarding you should not use app.properties
or adb.path property should be commented.
Provide correct app.properties file
Right now to successfully run application you should create app.properties file in the same
folder as AndroidScreencast's jar and provide at least one property - adb.path which should point
to the adb executable file within your OS, for example such location could be configured
for Windows OS:
adb.path=adb/windows/adb.exe
Both absolute and relative paths are supported.
Example of valid app.properties could be find here.
Also, we have got some valid OS-specific examples:
They are actually the same, just adb.path is OS-specific. Files listed above are automatically
included into OS-specific bundles.
Additional properties
Here is the full list of available properties for application configuration.
Properties should be places in the app.properties file in the same folder as AndroidScreencast's
jar file.
#relative or absolute path to ADB
adb.path=./adb
#maximum time to wait for device (in seconds)
adb.device.timeout=30
#maximum time to execute adb command (in seconds)
adb.command.timeout=5
#initial application window width (in pixels)
app.window.width=1024
#initial application window height (in pixels)
app.window.height=768
#Defines whether application should look 'natively' to OS. Possible values: true/false
app.native.look=false
Download
Download a packaged build from the releases page. Each release provides an executable JAR and archives for Linux, macOS, and Windows.
Building and running from source
This project requires at least Java 8.
After cloning the project, run mvnw install.
The resulting artifacts will be created in the target subdirectory.
You can run the executable jar via java -jar target/androidscreencast-VERSION-executable.jar,
replacing VERSION with the current version.
For example, java -jar target/androidscreencast-0.0.10s-executable.jar.
Additionally, OS-packages would be created with ADB executables bundled:
androidscreencast-VERSION-windows.zipandroidscreencast-VERSION-linux.tar.gzandroidscreencast-VERSION-macosx.tar.gz
In order to provide correct configuration see configuration section.
Requirements
Currently, AndroidScreencast works directly with adb input program through ddmlib and uses
the functionality of:
adb input keyadb input tapadb input swipe
Regarding this point, to use AndroidScreencast you need Smartphone running on Android with
specific input program version. adb input tap and adb input swipe were introduced
in Android 4.1.1.
So, right now AndroidScreencast support all Android versions equal or greater than Android 4.1.1.
Also, to run AndroidScreencast you will need adb installed (or you can use bundled in OS bundles adb).
Similar Projects
- Seven Square - QT implementation of Android Screencast (actively developed)
- Droid@Screen - implementation of Android Screencast in Java (last release in 2013, the project site is gone)
- Android Screen Monitor - implementation of Android Screencast in Java (latest release in 2013)
探索相关项目
加载中…