Giter VIP home page Giter VIP logo

android-mouse-cursor's Introduction

Android Mouse Cursor

An (sort-of functional) example of how you can simulate a moouse on Android using a floating window and an Accessbility Service to click on Views.

Usage

  • Open the project in Android Studio and run on your device.
  • Go to Settings > Accessibility and turn on "MouseCursor".
  • Edit the IP address in mouse_udp_client.py to that of your Android device
  • Run mouse_udp_client.py and use the instructions on screen to send mouse events to the service running on the device

Limitations

  • What you click on must be identified as an Accessibility Element. Most basic native apps work, but more complex apps (e.g. Google Maps, games) will not be fully clickable.
  • The system UI is inaccessible to floating window used to draw the mouse cursor and the click mechanism. This means you cannot click on the Home or Back buttons or the status bar.
  • Dragging the mouse is not supported.
  • Right/middle click are not supported.

Licence

MIT

android-mouse-cursor's People

Watchers

James Cloos 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.