Skip to content

eci99/Clicker

Repository files navigation

Clicker App

Clicker is an Android application that provides a floating overlay system to automate periodic click events on other applications. This is achieved using Android's Overlay and Accessibility APIs.

How to use it:

  1. Grant Overlay Permission: This allows the app to draw the floating controls over other apps. Open the app and click "1. Grant Overlay Permission".
  2. Set Interval: Enter the desired click interval in milliseconds (minimum 150ms) and click "Save Settings".
  3. Enable Accessibility Service: Click "2. Enable Accessibility Service" and toggle the "Clicker" service to ON.
  4. Automatic Start: Once the service is enabled, two overlays will appear:
    • Target Overlay (White Circle): Represents the location where the click will happen. Drag it to your desired target.
    • Control Overlay (Pink Button): Displays "Start Clicker" or "Stop Clicker". Tap this to toggle the periodic clicking.
  5. Perform Clicking: Position the Target Overlay and tap the pink "Start Clicker" button. The app will simulate clicks at that location at your defined interval.
  6. Stop Service: To completely remove the overlays, go back to Accessibility settings and turn the "Clicker" service OFF.

Key Components:

  • MainActivity: Handles permission requests and interval configuration.
  • ClickAccessibilityService: The core engine. It manages the connection and executes the actual click gestures using the dispatchGesture API.
  • FloatingService: A foreground service that manages the two-overlay system, handling their visibility, positioning, and the periodic click timer.

Permissions Required:

  • SYSTEM_ALERT_WINDOW: To draw the target and control overlays over other apps.
  • BIND_ACCESSIBILITY_SERVICE: To simulate touch events (must be enabled manually by the user).
  • FOREGROUND_SERVICE: To ensure the overlays remain active in the background.

About

Clicker is an Android application that provides a floating overlay system to automate periodic click events on other applications. This is achieved using Android's Overlay and Accessibility APIs.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages