Tap, Tap is a port of the double tap on back of device gesture from Android 11 to any Android 7.0+ device. It allows you to use the gesture to launch apps, control the device (including pressing the home, back and recents buttons), take a screenshot, toggle the flashlight, open your assistant and more. Using “gates”, you’re able to block the gesture from working in scenarios such as when the screen is off, when you’re on a call, when an app is open and more. It uses an accessibility service to run these tasks and stay running in the background. Tap, Tap uses the same machine learning code and TensorFlow models from the Android 11 builds with the gesture, with code directly lifted from SystemUIGoogle where needed. You can pick from three models in the settings: Pixel 3 XL, Pixel 4 and Pixel 4 XL; allowing you to choose the one that fits your device best. Machine learning allows the gesture to be more accurately detected, and reduces the chance of accidental interactions. Sensitivity options are currently not available, but may be in a future release.
Tap, Tap is currently in alpha, and has been released at this time due to the interest around the feature, and its appearance in MIUI 13. Stay tuned for new features and bug fixes. If you’d like to report a bug or suggest a feature, you can do so in this thread or on the GitHub.
Changelog for latest version (0.6 Alpha):
Originally Posted by ChangelogImplemented “requirements” (aka “when gates”) for actions. This allows you to specify an action to only be run when a condition is met (any gate can be used for this), such as an app running or the display being off – example here
Added Table gate
Added pocket gate
Added gates for detecting headsets and music playing
Added Sound Profile control – needs do not disturb access, app will prompt you (thanks Ashutosh Singh)
Updated translations & contributors
Version 0.6 Alpha