Giter VIP home page Giter VIP logo

android_screen_stream's Introduction

Android_Screen_Stream

在无线自动化测试平台的搭建中,我们可能需要这样一个机器管理的场景: 在一个portal里,能够看到我们机器的一些基本情况,比如它是否在锁屏状态,运行是否正常。 如果能够看到屏幕回传的话......

工具优点

采用ddmlib高效截图方式,在MAC系统下效果尤佳,延时控制在2-3秒内

运行环境

需要jython

依赖jar包

见代码顶端,自己调整一下

运行

jython screenshot.py

打开demo.html

然后在目录中找到demo.html用chrome或者Firefox打开 你就可以欣赏到屏幕回传了。 不支持IE9以下浏览器......

效果展示

效果

效果

android_screen_stream's People

Contributors

qddegtya avatar mrkiven 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.