Android · Pixel · Offline gesture macros

TouchLoop

Record your taps and swipes once. Start playback, get a 2-minute setup window, and TouchLoop repeats the sequence in an endless loop until you press STOP.

Download Android source ZIP Download TouchLoop APK

How playback works

1 · Record
Arm the recorder, open the target app, tap REC on the floating bar, then perform your sequence and tap SAVE.
2 · Prepare
Start the loop. The floating bar counts down for 2 minutes so you can open the target screen and get it ready.
3 · Repeat
Gestures replay with their recorded timing. A floating STOP button and notification action stop the loop.

Build the Android installer

Cloudflare Pages hosts and serves files; it does not compile an Android app into an APK. This package includes a GitHub Actions workflow that builds a debug APK for personal sideloading.

  1. Download the source ZIP and extract it.
  2. Create a GitHub repository and upload the extracted project files, including .github/workflows/build-apk.yml.
  3. Open the repository’s Actions tab and run Build TouchLoop APK (or push to the main branch).
  4. Download the TouchLoop-Android-APK artifact and extract app-debug.apk.
  5. To serve the installer from this site, copy it into this site’s downloads folder and rename it TouchLoop.apk, then redeploy to Cloudflare Pages.

On the Pixel, Android may ask you to allow installation from the browser or file manager. Only install APKs you built or trust.

Important limits

The supplied screen recording is a video, not a raw touch-event file. Its underlying coordinates and touch timing are not encoded as replayable events, so this app records a sequence directly on the phone rather than claiming to reconstruct every touch from the MP4 automatically.

Android Accessibility and “display over other apps” must be enabled by you. Managed/work apps can block overlays or synthetic gestures. Multi-finger gestures are not supported. Infinite replay can repeat submissions or changes, so test on a safe screen and keep STOP accessible.