Skip to content
المشاريع

حول

Cutout-aware Dynamic Island for Android 9–14+ built with Kotlin & Jetpack Compose, universal Email/SMS/Truecaller OTPs, Phone/WhatsApp quick calls, UPI QR gestures, media controls, and 100% offline privacy.

الأمان والخصوصية

كيف تُقاس هذه الأرقام

ما يمكنك فعله

  • 🎯 Cutout-Aware Capsule Engine: Auto-detects camera punch-hole coordinates via DisplayCutout, with Auto, Center, Left, and Right anchor modes plus 1dp manual fine-tuning (X, Y, Width, Height, Corner Curve).
  • 🔐 Universal OTP & Confirmation Codes: Detects verification codes from SMS, Truecaller, Gmail/Email apps, GitHub, Discord, and banking alerts — shows the host app icon (e.g., Mail icon on email codes), displays the code directly on the compact pill (with optional •••• masking), and gives a 1-tap Copy OTP button when expanded.
  • Incoming & ongoing Cellular + WhatsApp call banners with mute, speaker routing, answer, and hang-up controls.
  • Swipe gesture opens up to 5 favorite contacts; supports Normal Phone Call, WhatsApp Voice, or WhatsApp Video globally and per contact (with automatic dialer fallback).

النمو المقاس للنجوم

خلال 24 ساعة
٠
خلال 7 أيام
جارٍ جمع السجل
خلال 15 يومًا
جارٍ جمع السجل
خلال شهر
جارٍ جمع السجل

تغيّر صافي النجوم خلال فترات متداخلة، وليس مجموعًا يوميًا. تبقى القياسات المفقودة فارغة. النجوم تقيس الاهتمام لا جودة البرمجيات.

README.md

الأصل
Dynamic Island for Android Banner

Dynamic Island for Android

Android CI License: MIT Min SDK Offline Only

A fluid, cutout-aware Dynamic Island experience for Android built with Kotlin and Jetpack Compose. Engineered for hardware punch-holes (center, left, or right), 100% offline with zero INTERNET permission — your notifications, OTPs, clipboard items, calls, and preferences never leave your phone.


App & Live Island Previews

Island Overview Screen
Island Overview
Readiness, UPI QR, Cutout Fit & Quick Summary
Design Studio Screen
Design & Live Stage
Classic / Glass / Aurora / Stealth Themes & Live Pill
Cutout and Controls Screen
Cutout Radar & Controls
Auto Punch-Hole Detection & Double-Tap QR Picker

Hardware Cutouts & Live Capsule States

Supported Camera Cutouts and Live Capsule States

Features

  • 🎯 Cutout-Aware Capsule Engine: Auto-detects camera punch-hole coordinates via DisplayCutout, with Auto, Center, Left, and Right anchor modes plus 1dp manual fine-tuning (X, Y, Width, Height, Corner Curve).
  • 🔐 Universal OTP & Confirmation Codes: Detects verification codes from SMS, Truecaller, Gmail/Email apps, GitHub, Discord, and banking alerts — shows the host app icon (e.g., Mail icon on email codes), displays the code directly on the compact pill (with optional •••• masking), and gives a 1-tap Copy OTP button when expanded.
  • 📞 Live Calls & Configurable Quick Calls Dock:
    • Incoming & ongoing Cellular + WhatsApp call banners with mute, speaker routing, answer, and hang-up controls.
    • Swipe gesture opens up to 5 favorite contacts; supports Normal Phone Call, WhatsApp Voice, or WhatsApp Video globally and per contact (with automatic dialer fallback).
  • 💳 Interactive Double-Tap, Swipe & QR / UPI Launcher:
    • Configure idle Double-Tap, Swipe Left, Swipe Right, and Long-Press (Hold) actions independently.
    • Choose from Flashlight Toggle, QR / Payment Scanner (pick PhonePe, Google Pay, Paytm, BHIM, CRED, Amazon Pay, or any installed QR/UPI app), Play/Pause Media, Focus Timer, Brightness & Volume Scrubber, Quick Calls, Drop Shelf, App Arc, or any custom app.
  • 🎵 Media Player Capsule: Live album art ambient glow, waveform visualizer, seek scrubbing, track skip, and configurable paused-media auto-hide timeout.
  • 💬 Smart Notifications & Quick Reply: Conversation grouping, multi-account social handle cleanup, lockscreen privacy redaction, per-app blocklist, and inline quick replies with preset chips (👍, OK, Busy).
  • 🧭 Live Activities, Drop Shelf & Utilities: Turn-by-turn Maps navigation, active file upload/download rings, ride/delivery stage steppers, Focus Timer countdown, Torch indicator, Bluetooth accessory battery popups, and Brightness/Volume edge scrubber.
  • 💾 Offline Settings Backup & Local Crash Logger: Export/Import full configuration JSON offline; uncaught exceptions stay strictly on-device (filesDir/last_crash.txt).
  • 🔋 Battery-Optimized Lifecycle: Stops Compose rendering, sets overlay views to View.GONE, pauses heavy notification/media parsing, and unregisters gyroscope sensors automatically when the screen turns off.

Permissions Breakdown

Permission Required? Why It's Used
Display Over Other Apps (SYSTEM_ALERT_WINDOW) Required (unless Accessibility overlay used) Renders the floating Island capsule around your front camera cutout.
Notification Access (NotificationListenerService) Required Reads media sessions, calls, live navigation/delivery updates, OTPs, and messages locally.
Battery Optimization Exemption Recommended Prevents aggressive OEM task killers from stopping the overlay in background.
Accessibility Service (TYPE_ACCESSIBILITY_OVERLAY) Optional Draws above the status bar scrim and detects Quick Settings / fullscreen video to auto-hide smoothly.
Contacts & Phone Call (READ_CONTACTS, CALL_PHONE) Optional Populates Quick Calls favorites and places direct calls (falls back to dialer without CALL_PHONE).
Bluetooth Connect (BLUETOOTH_CONNECT, Android 12+) Optional Displays headphone/earbud names and battery percentages when connected.
Usage Access (PACKAGE_USAGE_STATS) Optional Orders recent apps dynamically inside the App Arc switcher.
Modify System Settings (WRITE_SETTINGS) Optional Lets the built-in Edge Scrubber adjust screen brightness.

Privacy Guarantee: AndroidManifest.xml does not declare android.permission.INTERNET. The app has no analytics SDKs, no crash uploaders, and no remote servers.


First-Time Sideload Guide (Android 13+ "Restricted Settings")

Click to expand step-by-step Android 13+ sideload instructions

When installing an APK outside the Play Store on Android 13 or newer, Notification Access or Accessibility Service toggles may initially appear greyed out ("Restricted setting"):

  1. Open your phone Settings → Apps → Dynamic Island (or tap Open App Info inside the in-app Setup Wizard).
  2. Tap the ⋮ menu icon in the top-right corner.
  3. Tap Allow restricted settings and confirm your screen lock.
  4. Return to Dynamic Island and grant Notification Access / Accessibility.

Keeping Dynamic Island Alive (OEM Battery Guide)

Click to expand brand-specific background settings (Xiaomi, Vivo, Oppo, OnePlus, Samsung, Pixel)
  • Xiaomi / Redmi / POCO (MIUI / HyperOS): App Info → enable Autostart, set Battery Saver to No restrictions, and lock the app in Recents if needed.
  • Vivo / iQOO (FuntouchOS / OriginOS): App Info → Battery → select Unrestricted / allow High background power usage.
  • Oppo / Realme / OnePlus (ColorOS / OxygenOS): App Info → Battery usage → enable Allow background activity and Allow auto-launch.
  • Samsung (OneUI): App Info → Battery → Unrestricted, and ensure Dynamic Island is not inside Sleeping or Deep sleeping apps.
  • Pixel / AOSP: Set App Battery Usage to Unrestricted.

Build from Source

Prerequisites

  • JDK 17
  • Android SDK Platform 34 (compileSdk = 34, minSdk = 28)

Debug Build & Tests

git clone https://github.com/hrxhit/Dynamic-Island.git
cd Dynamic-Island

./gradlew testDebugUnitTest lintDebug assembleDebug

Release Signed APK

  1. Copy keystore.properties.example to keystore.properties (never commit keystore.properties or *.jks).
  2. Fill in your keystore path (storeFile), alias, and passwords.
  3. Build the release APK:
    ./gradlew assembleRelease
    
    Output APK: app/build/outputs/apk/release/app-release.apk

License

Released under the MIT License.

استكشف مشاريع مشابهة ومرتبطة

جارٍ التحميل…