Skip to content

Just as the project name says, this project is aimming at creating a tool for manipulating android devices from pc.

License

Notifications You must be signed in to change notification settings

lrscp/ControlAndroidDeviceFromPC

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ControlAndroidDeviceFromPC

Just as the project name says, this project is aimming at creating a tool for manipulating android devices from pc.

This project is based on android's DDMS code. I just modify some of the code to implement the function of operating the screen of android device. The DDMS lib is a useful tool which provides function such android debug bridge connection and monkey function. So I can capture the screenshot continuously by adb and send touch events and key events to android devices(phones/pads) when the mouse is clicked or slided on the computer side.

Overview

As the following picture shows:

Usage

1. Make sure adb is installed in your system and can be called from command prompt.

2. Connect your android device to the computer.Input command adb devices to check whether your device is connected.

3. click batch file run.bat in the directory out. The program should be running normally now.

Supported Operations

  • Touch, Slide

    Move your mouse upon the screen capture, and press your left mouse button and drag or just a simple click on an icon.

  • Keys

    Menu --> 'M' on the keyboard

    Back --> 'B' on the keyboard

    Home --> 'H' on the keyboard

you can modify the code to implement your desired functions.

Contact me

About

Just as the project name says, this project is aimming at creating a tool for manipulating android devices from pc.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Languages