All Projects → rayworks → Droidcast

rayworks / Droidcast

Licence: apache-2.0
An experimental demo for capturing and displaying screenshot of an Android device without ROOT permission.

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to Droidcast

Cxtouch
View and manage Android devices from PC client based java swing, supporting Windows, Linux and MacOS
Stars: ✭ 229 (+97.41%)
Mutual labels:  screenshot, adb
toster
DSL framework for testing Android apps
Stars: ✭ 31 (-73.28%)
Mutual labels:  screenshot, adb
Textshot
Python tool for grabbing text via screenshot
Stars: ✭ 1,163 (+902.59%)
Mutual labels:  python-script, screenshot
Protoo
Minimalist and extensible Node.js signaling framework for multi-party Real-Time applications
Stars: ✭ 109 (-6.03%)
Mutual labels:  websocket
Twelvedata Python
Twelve Data Python Client - Financial data APIs & WebSockets
Stars: ✭ 111 (-4.31%)
Mutual labels:  websocket
Websocket
基于websocket实现浏览器端文本、视频、语音的即时通讯
Stars: ✭ 114 (-1.72%)
Mutual labels:  websocket
Swoole Tadpole
tadpole chatroom (maybe spermium) powered by swoole and slim framework
Stars: ✭ 116 (+0%)
Mutual labels:  websocket
Autobahn Java
WebSocket & WAMP in Java for Android and Java 8
Stars: ✭ 1,467 (+1164.66%)
Mutual labels:  websocket
Wampy
Websocket RPC and Pub/Sub for Python applications and microservices
Stars: ✭ 115 (-0.86%)
Mutual labels:  websocket
Chat Room
使用GO+Vue构建的聊天室网站
Stars: ✭ 113 (-2.59%)
Mutual labels:  websocket
Ha Shellies Discovery
Script that adds MQTT discovery support for Shellies devices
Stars: ✭ 113 (-2.59%)
Mutual labels:  python-script
Androidcontrol
超强群控,可以实时查看和控制安卓手机的安卓远程控制软件,致力于完成一个高端的安卓群控软件 可以群控,录制运行脚本等等功能......
Stars: ✭ 1,576 (+1258.62%)
Mutual labels:  adb
Glider
glider is a forward proxy with multiple protocols support, and also a dns/dhcp server with ipset management features(like dnsmasq).
Stars: ✭ 1,710 (+1374.14%)
Mutual labels:  websocket
Ws Machine
WS-Machine is a websocket finite state machine for client websocket connections (Go)
Stars: ✭ 110 (-5.17%)
Mutual labels:  websocket
Screenshot Website
📸 A GitHub Action to capture screenshots of a website, across Windows, Mac, and Linux
Stars: ✭ 116 (+0%)
Mutual labels:  screenshot
Capture Frame
Capture video screenshot from a `<video>` tag (at the current time)
Stars: ✭ 109 (-6.03%)
Mutual labels:  screenshot
Nghttpx Ingress Lb
nghttpx ingress controller for Kubernetes
Stars: ✭ 115 (-0.86%)
Mutual labels:  websocket
Iot Technical Guide
🐝 IoT Technical Guide --- 从零搭建高性能物联网平台及物联网解决方案和Thingsboard源码分析 ✨ ✨ ✨ (IoT Platform, SaaS, MQTT, CoAP, HTTP, Modbus, OPC, WebSocket, 物模型,Protobuf, PostgreSQL, MongoDB, Spring Security, OAuth2, RuleEngine, Kafka, Docker)
Stars: ✭ 2,334 (+1912.07%)
Mutual labels:  websocket
Don Blog Backmanage
Don's blog的后台管理系统,基于Vue.js + Node.js + Koa.js + MySQL + Redis + WebSocket。
Stars: ✭ 112 (-3.45%)
Mutual labels:  websocket
Chat Room
a simple chat room used by python websocket
Stars: ✭ 114 (-1.72%)
Mutual labels:  websocket

DroidCast

中文文档

An experimental demo for capturing and displaying screenshot of Android devices in the WebBrowser. It's compatible with Android OS 4.0+ and could be used as a convenient tool for taking a batch of screenshots by different image formats && dimensions, reporting bugs and reviewing app features.

Dependencies

Quick start

  • Connect your device/emulator

  • Install the apk

Download and install the prebuilt apk from here or install it directly:

./gradlew clean installDebug
  • Run the script (using automation3.py for Python 3.6+)
python scripts/automation.py

After that, the default web browser will be opened. You should see the screenshot now.

  • (Optional) Specify the target connected device and set the port of ScreenShot service
python scripts/automation.py -p 12346 -s 'your-device-id'

For more info, python scripts/automation.py -h

Use it wirelessly :

  • Get your device IP address (in Settings - System - About phone - Status) e.g : 192.168.x.x
  • Enable adb over TCP/IP on your device: adb tcpip 5555
  • Connect to your device: adb connect 192.168.x.x:5555 (replace 192.168.x.x with the actual IP address)
  • Unplug your device
  • Go through all the steps under Common usage

To switch back to USB mode: adb usb.

Common usage:

Note:

Once apk file installed, you can use the python scripts to automate the following adb related operations.

  • Install the apk properly on the phone (Don't install it via Run 'app' from Android Studio).
./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 '[email protected]'
>>> DroidCast main entry

  • Please note: On some devices, if you got the error "appproc: ERROR: could not find class 'com.rayworks.droidcast.Main', please replace the above value of CLASSPATH with the result returned by adb shell pm path com.rayworks.droidcast.

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

Currently png, jpeg and webp, these image types are supported.

Reference

vysor 原理以及 Android 同屏方案

scrcpy : Display and control your Android device

Alternatives

scrcpy

web-adb

AndroidScreenShot_SysApi

Stargazers over time

Stargazers over time

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.
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].