
gittech. site
for different kinds of informations and explorations.
TapLock β double tap to lock your Android device
TapLock

A minimalist Android widget that lets you lock your screen with a double tap. Perfect for one-handed use and quick screen locking.
Why TapLock?
While there are several screen-locking apps available on the Play Store, they all share a concerning characteristic: they're closed source while requiring significant system permissions.
The Accessibility Service permission, which is necessary for screen locking functionality, is particularly powerful - it can:
- Monitor all your interactions with apps
- View your screen content
- Track your inputs and gestures
- Access sensitive information
With closed-source applications, you're essentially trusting unknown code with these extensive capabilities. You have no way to verify:
- What data they're actually collecting
- Where that data might be sent
- What other hidden functionalities might exist
- How securely they handle their permissions
TapLock solves this trust problem through radical transparency:
- 100% open source - every line of code is visible and auditable
- No internet permissions - physically cannot transmit data
- Minimal, focused codebase - easy to review and verify
- Uses Accessibility Service solely for screen locking - nothing else
- No analytics, no tracking, no data collection
- No unnecessary permissions or features
You don't have to trust our privacy claims - you can verify them yourself in the source code. This is the key advantage of open-source security: trust through transparency.
Features
- π Lock screen with double tap
- π― Customizable double-tap timeout
- π Transparent widget - doesn't interfere with your home screen aesthetics
- π‘οΈ Minimal permissions - only uses accessibility service for screen locking
- π± Resizable widget
- π¨ Material Design 3 UI
- π Privacy focused - collects no personal data
Getting Started
Requirements
- Android 12 (API 31) or higher
- 1MB of free space
Installation
- Download the application from Google Play or F-Droid (coming soon!)
- Add the widget to your home screen:
- Long press on your home screen
- Select "Widgets"
- Find "TapLock" in the list
- Drag and drop the widget to your desired location
- Enable the Accessibility Service when prompted
- Double tap the widget to lock your screen
Configuration
- Open the TapLock app
- Adjust the double-tap timeout in Settings (default: 300ms)
- The widget is transparent by default and can be resized to your preference
Building from Source
- Clone the repository:
git clone https://github.com/modelorona/TapLock.git
Open the project in Android Studio Hedgehog or later
Build the project:
./gradlew assembleDebug
Privacy
TapLock is designed with privacy in mind:
- No internet connectivity required
- No data collection
- Minimal permissions (only Accessibility Service)
- Open source for transparency
Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
License
This project is licensed under the Apache License 2.0 - see the LICENSE file for details