yangningbo / DroidCast

An experimental demo for capturing and displaying screenshot on Android device without ROOT permission.

Home Page:http://www.jianshu.com/p/791a3ed2a348

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

DroidCast

An experimental demo for capturing and displaying screenshot of Android devices.

Note:

For the "Unix-like" OS, once apk file generated, you can use the cmd_tool to simplify the following adb related operations.

Usage:

  • Install the apk properly on the phone
./gradlew clean installDebug
  • Push the apk to the tmp folder
adb push ${your-project-path}/DroidCast/app/build/outputs/apk/debug/DroidCast-debug-1.0.apk /data/local/tmp
  • Start our internal server process for image processing by app_process
$ adb shell
D1C:/ $ export CLASSPATH=/data/local/tmp/DroidCast-debug-1.0.apk
D1C:/ $ exec app_process /system/bin com.rayworks.droidcast.Main '$@'
>>> DroidCast main entry

  • Use adb forward socket connection from your pc to the connected device
$ adb forward tcp:53516 tcp:53516

Reference:

vysor原理以及Android同屏方案

License

Copyright (C) 2018 rayworks

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

About

An experimental demo for capturing and displaying screenshot on Android device without ROOT permission.

http://www.jianshu.com/p/791a3ed2a348

License:Apache License 2.0


Languages

Language:Java 62.3%Language:C 37.1%Language:Makefile 0.6%