Android Security App

Facility-Grade
Camera Control
for Android

Enterprise-level camera access management through QR code scanning and Android Device Administration — built for secure facilities, corporate environments, and controlled zones.

📵 Camera Locked
✅ Enrolled
9:41 AM
🔒
CAMERA LOCKED
Main Entrance · Facility A
Scan Exit QR

Everything you need for
facility-level control

A complete, multi-layered security system that manages camera access based on physical location through QR code entry and exit scanning.

📷

QR-Based Entry Control

Scan facility entry QR codes to automatically enroll the device and activate camera lockdown. Works entirely offline once validated.

🔓

Smart Exit Unlock

Scan exit QR codes to instantly restore full camera access and cleanly remove device enrollment from the system.

🛡

Hardware-Level Lock

Uses the Android Device Administration API to disable the camera at the hardware level — not just the app, but the entire hardware stack.

👁

Real-Time Monitoring

A persistent foreground service monitors foreground apps in real time and blocks any camera application the moment it launches.

📱

Overlay Protection

Full-screen warning overlays instantly block any attempt to open a camera app, with clear messaging for the user.

🔄

Boot Persistence

Locks are maintained across reboots. The service auto-starts on device boot and restores the previous enrollment state.

📡

Backend Validation

Every QR scan is validated in real time against a secure REST API using JWT token authentication with expiration checks.

🔋

Battery Optimized

Requests battery optimization exemption to ensure the security service always runs, even on aggressive battery management systems.

📲

MIUI / Android 14+

Special compatibility handling for Xiaomi MIUI devices and Android 14+ enhanced permission requirements.

Simple QR workflow,
enterprise-grade results

The entire entry-to-exit lifecycle is handled automatically through QR scanning. No complex setup needed by end users.

  • 🔑

    1. Grant Permissions

    The app guides users step by step through granting camera, overlay, usage stats, and device admin permissions — with helpful prompts at each stage.

  • 📋

    2. Scan Entry QR Code

    On entering a secure facility, the user scans the entry QR code posted at the gate. The app validates it against the backend and enrolls the device.

  • 🔒

    3. Camera Locked

    Device admin policy disables the camera hardware. A foreground service activates with real-time monitoring and overlay blocking for any camera app.

  • 4. Scan Exit QR Code

    On exit, scan the exit QR code to validate departure, remove device enrollment, and restore full camera access automatically.

01

QR Scan → API Validation

JWT token extracted and validated with expiration check

02

Enrollment Registered

Device ID stored persistently with facility and location data

03

Device Admin Activated

disable-camera policy applied at system level

04

Foreground Service Running

Usage stats monitoring + overlay ready to block camera apps

05

Exit → Full Cleanup

Admin removed, service stopped, camera fully restored

Four layers of
camera enforcement

No single mechanism is relied on. CamBlock stacks four independent layers of camera blocking to ensure no gap exists — even across different Android OEMs and firmware versions.

Hardware disable, software monitoring, visual overlay blocking, and usage statistics tracking all work in concert to enforce the policy.

Samsung Google Pixel Xiaomi MIUI Motorola OnePlus Huawei Android 7+ Android 14+
L1
Device Admin Layer System-level camera hardware disable via DevicePolicyManager
Deepest
L2
Foreground Service Layer Persistent real-time monitoring with wake lock protection
Active
L3
Overlay Blocking Layer Full-screen system overlay intercepts camera app launches
Visual
L4
Usage Statistics Layer App foreground detection via UsageStatsManager API
Detection

Permissions & what they're for

CamBlock requests only the permissions necessary for its security functions. Here's exactly why each one is needed.

📷 Camera & Network

CAMERA Required for QR code scanning at entry/exit gates
INTERNET Backend API communication for QR validation
ACCESS_NETWORK_STATE Monitors network connectivity before making API calls

🛡 Device Administration

BIND_DEVICE_ADMIN Core permission to disable camera hardware via policy
MANAGE_DEVICE_POLICY_CAMERA Enhanced camera policy control on Android 14+

⚙️ System & Monitoring

SYSTEM_ALERT_WINDOW Displays blocking overlay when a camera app is detected
PACKAGE_USAGE_STATS Detects which app is in the foreground for blocking
FOREGROUND_SERVICE Keeps the monitoring service running persistently

🔋 Persistence

RECEIVE_BOOT_COMPLETED Auto-restores lock state after device reboot
WAKE_LOCK Prevents the OS from killing the monitoring service
REQUEST_IGNORE_BATTERY_OPTIMIZATIONS Ensures the service survives aggressive power saving

Ready to secure
your facility?

Download CamBlock from the Google Play Store and start managing camera access in minutes.

↓  Get on Google Play Learn More