歡迎來到Linux教程網
Linux教程網
Linux教程網
Linux教程網
Linux教程網 >> Linux編程 >> Linux編程 >> Android中的Screencast工具

Android中的Screencast工具

日期:2017/3/1 9:57:14   编辑:Linux編程

最近在項目中遇到一個問題:Android屏幕出現閃屏,不知道是我設計的UI出現了問題,還是手機LED屏驅動的問題,針對這個狀況我用到了Android開發中的一款實時顯示當前手機屏幕的工具,它是Android開源的,地址:https://code.google.com/p/androidscreencast/

這框工具主要是講底層向頂層實時傳輸的數據以畫面的形式截取出來顯示在屏幕上,在Eclipse中的DDMS下有個Screencapture工具,但是每次都要刷新,而androidscreencast則是實時顯示用戶在手機上的當前操作。

Desktop app to control an android device remotely using mouse and keyboard. Should work on Windows/Linux/MacOS with any android device.

I've created a google groups HERE for support, no direct help request please.

Installation

1. Install the android sdk (download here)

2. Connect your device through USB cable and ensure it's detected with "adb devices"

3. Make sure you have Java Runtime Environnement 5 or later installed

4. Click HERE. You can launch it by typing "javaws <jnlp file>" from a command line.

If mouse/keyboard control doesn't work, open a command line and type :

1. adb shell

2. su

3. chmod 777 /data/dalvik-cache

4. cd /data/dalvik-cache

5. chmod 777 ./

Features

1. Mouse and keyboard control FOR ROOTED DEVICES ONLY

2. Landscape mode (right click)

3. Video recording

4. Basic file browser

更多Android相關信息見Android 專題頁面 http://www.linuxidc.com/topicnews.aspx?tid=11

Copyright © Linux教程網 All Rights Reserved