An all-in-one Android application for focused studying, kitchen timing, and productivity tracking with distraction detection, gamification, and an immersive retro-digital hardware UI.
Explore all the interactive features and simulated LCD dashboard of FocusFlow DXT directly in your web browser.
Get the fully functional, working application package directly from this repository: ๐ Download FocusFlow-DXT.apk (v2.5.0) (~13.1 MB)
- Click the download link above to download
FocusFlow-DXT.apkto your Android device. - Once downloaded, tap the file in your downloads folder.
- If prompted with "For your security, your phone is not allowed to install unknown apps from this source", tap Settings and toggle Allow from this source to ON.
- Tap Install and complete the installation setup.
- Launch FocusFlow DXT and start boosting your productivity!
- Overview
- Key Features
- Screenshots
- Architecture
- Tech Stack
- Project Structure
- Installation & Setup
- Build Variants
- Usage Guide
- Settings & Configuration
- Strict Focus Mode
- Themes & Customization
- Gamification System
- Data Backup & Restore
- Permissions
- API Reference
- Contributing
- Roadmap
- FAQ
- License
- Author
- Acknowledgments
FocusFlow DXT is a premium, offline-first Android application designed for students, research scholars, professionals, and home cooks who need a reliable, distraction-aware study countdown module with versatile kitchen timer presets. Constructed entirely using Jetpack Compose and Material 3, the interface represents the front bezel frame of a classic vintage hardware timer (specifically referencing our simulated custom hardware chassis display) with micro-bezel glow elements and tactile haptic button aesthetics.
The system integrates:
- โฑ๏ธ Kitchen Timer Mode โ Quick-boil dials and multi-second cook countdown adapters.
- ๐ Study Session Presets โ Industry standard Pomodoro, Quick Sprint, and Intense learning blocks.
- โฑ๏ธ Precision Stopwatch โ Chronicle lap recorders tracing delta timestamps in real-time.
- ๐ Live Wall Clock โ High-contrast 12-hour ticking chronometer displaying date, daylight indices, and simulated temperature.
- ๐ก๏ธ Interactive App Blocker โ In-flight distraction detector querying live active task contexts with a custom selection dialog mapping systems.
- ๐ Embedded Web Classroom โ In-application sandboxed lecture workspace with quick Wikipedia and Khan Academy hot-buttons.
- ๐ฎ Gamified Learning Hub โ Live study stats tracking daily hours, streak fire indexes, and scholastic level XP progress.
| Mode | Description |
|---|---|
| ๐ Clock | Real-time 12-hour digital ticking clock incorporating simulated ambient sensors and Gregorian dates. |
| โฑ๏ธ Countdown Timer | Multi-speed adjust system setting durations in HH:MM:SS with high-fidelity buzzer alerts. |
| โน๏ธ Stopwatch | Precision stopwatch with lap-split recordings, history logs, and instant clipboard exports. |
| ๐ Alarm Screen | Integrated safety overlay auto-triggered on zero ticks featuring an interactive manual dismiss mechanism. |
| Preset | Duration | System Objective |
|---|---|---|
| ๐ Pomodoro | 25 Minutes | Classic focal loops with dedicated intervals. |
| โก Sprint | 15 Minutes | High-intensity target sprints and task blocks. |
| ๐ Intense | 50 Minutes | Deep conceptual work sessions and exam simulations. |
| โ Break | 5 Minutes | Restoring brain energy with background noise effects. |
| ๐ Maggi | 2 Minutes | Flash cooking alerts for fast kitchen recipes. |
| ๐ฅ Boil | 5 Minutes | General household boiling and timing automation. |
- ๐ฑ Installed User App Selector: Securely interfaces with the Android
PackageManagerusing safe nullable smart-casts to live list, select, and filter launchable user-installed applications. - ๐ Search & Filter Registry: Simple filter bar inside the selection dialog instantly matches apps by name or package ID.
- Checkbox Checklist: Check/uncheck installed applications directly within the dialog to toggle them in or out of your focus blacklist.
- Smart Interceptors: FocusFlow-DXT monitors focus zones using three customizable security profiles:
- ๐ก Gentle Mode: Basic in-app alerts when restricted apps are accessed.
- ๐ Moderate Mode: Fires local notifications alerting the user of focus drift.
- ๐ด Extreme Mode: Sounds alarms and forces the timer to state alert until the application is closed.
- Save Backup File: Generates and packages your local data (XP, Levels, History) into a compact file named
focusflow_backup.jsonstored directly in device storage. - Load Backup File: Hydrates and reconstructs your session profiles instantly using external JSON files.
- Copy Active Code: Generates real-time previews of raw JSON strings with a single-click copy button to simplify transferring configurations on locked devices.
- Restore from Code Block: Multi-line textbox field allowing users to paste their backup JSON configurations directly to trigger instant restorations.
| Preset Theme | Primary Hex Glow | Display Style |
|---|---|---|
| ๐ข Retro Green | #33FF33 |
Styled after vintage neon lime-green radar terminals. |
| ๐ Amber Glow | #FFB000 |
Classic high-contrast monochromatic phosphorus glow. |
| ๐ฉท Cyber Punk | #FF007F |
Futuristic synthwave aesthetics. |
| ๐ต Neon Blue | #00E5FF |
Cool ice-blue executive console faceplate. |
| โซ AMOLED Dark | #1A1A1A |
Pure deep contrasts designed to preserve battery. |
| ๐ฉถ Brushed Steel | #607D8B |
Refined industrial metal casing style. |
The app uses a robust Service-driven architectural paradigm with a centralized, reactive State Flow layer:
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ UI Layer (Compose) โ
โ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โ
โ โ KitchenTimerApp() โ Main UI Entry โ โ
โ โ โโโ TableCasingFrame() โ Retro Cabinet โ โ
โ โ โโโ LiveDayDateBanner() โ Gregorian Status โ โ
โ โ โโโ SettingsDialog() โ 4-Tab Portal Config โ โ
โ โ โโโ SandboxClassroom() โ Web lectures โ โ
โ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โ
โ โ collectAsStateWithLifecycle โ
โ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โ
โ โ TimerService โ Background Foreground Service โ โ
โ โ โโโ StateFlow (activeMode, isRunning, etc.) โ โ
โ โ โโโ SharedPreference Database Engine โ โ
โ โ โโโ App Usage Stats Auditor โ โ
โ โ โโโ Media Tone Player โ โ
โ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
- Language: Kotlin 1.9.22
- UI Toolkit: Jetpack Compose (Material Design 3)
- Concurrency: Kotlin Coroutines & Flow
- Data Serialization: JSON Parser Engine (Jackson / Kotlinx compatible)
- Media Playback: Android System Media Integration (
MediaPlayer,VideoView) - Web Engines: Android System
WebView - Application Permissions:
android.permission.PACKAGE_USAGE_STATS(optional focus block check)
FocusFlow-DXT/
โโโ app/
โ โโโ src/
โ โ โโโ main/
โ โ โ โโโ java/com/example/
โ โ โ โ โโโ MainActivity.kt # Standard Activity, handles system PiP modes
โ โ โ โ โโโ TimerService.kt # Host for foreground states & companion States
โ โ โ โ โโโ KitchenTimerApp.kt # Houses physical frames, dials, & Settings panels
โ โ โ โ โโโ BackupUtils.kt # JSON Backup & Restore algorithms
โ โ โ โโโ res/
โ โ โ โ โโโ drawable/ # High-fidelity custom vectors & icons
โ โ โ โ โโโ values/ # strings.xml, colors.xml & custom styling
โ โ โ โ โโโ raw/ # Buzzers and looping ticking sounds
โ โ โ โโโ AndroidManifest.xml # Core metadata declarations & permissions
โ โโโ build.gradle.kts # App module dependency graphs
- Clone the Repo:
git clone https://github.com/SudhirDevOps1/FocusFlow-DXT.git
- Open in Android Studio:
- Navigate to File -> Open and choose
FocusFlow-DXT.
- Navigate to File -> Open and choose
- Sync Grade Dependencies:
- Ensure you are utilizing Gradle JDK 17+. Click
Sync Project with Gradle Filesand let compilations run.
- Ensure you are utilizing Gradle JDK 17+. Click
- Compile Applet:
- Directly run
./gradlew assembleDebugor hitRun 'app'inside Android Studio to flash your device or active emulator.
- Directly run
- Press the โ๏ธ (Settings Gear) to open the Scholar Management portal.
- Navigate to the Focus Zone tab.
- Scroll down and tap CHOOSE FROM INSTALLED USER APPS ๐ฑ.
- Real-time search or type a name, then simply tap checking boxes to lock apps in.
- Click DONE and start your countdown timer!
- Go to the Profile tab in settings.
- Under ๐พ FOCUSFLOW UNIFIED DATABASE PORTAL, click SAVE BACKUP FILE to export your progress.
- Alternatively, click COPY CODE ๐ to capture your state in raw JSON for easy clipboard transfer.
- To restore, paste a valid JSON string inside the text box and tap โก RESTORE SYSTEM DATABASE FROM CODE.
By granting the Usage Stats Permission, FocusFlow DXT tracks which application is active in the foreground while the timer runs. If a blacklisted application is loaded, the service alerts the user via the selected Strict Mode profile and records the incident in your Focus Logs timeline.
- Gain XP: Earn
1 XPfor every minute of continuous learning. - Leveled Milestones: Levelling up updates your title across the header, transforming you from a "Beginner Scholar" to a "Focus Master".
- Daily Streak Tracker: Earn a daily bonus of
15 XPper day for keeping your streaks active!
If Focus Guard (App Blocker) is not active or fails to intercept:
- Go to Android Settings โ Apps & Notifications โ Special App Access (or search for "Usage Access" in the settings search bar).
- Tap Usage Access / Usage Stats.
- Locate FocusFlow DXT in the list and toggle Permit Usage Access to ON.
- Restart the FocusFlow DXT application to bind the background service monitor.
Since Android 13/14, notifications are opt-in. Make sure you allow notifications for the app:
- If notifications are blocked, the background countdown service may be terminated by Android's battery optimizer. To avoid this, set the app's battery profile to Unrestricted.
The unified database portal reads and writes states in a standard JSON block. Below is the specification schema:
{
"totalXp": 450,
"level": 4,
"streakDays": 12,
"lastStreakTimestamp": 1718449600000,
"blacklistedPackages": [
"com.instagram.android",
"com.zhiliaoapp.musically"
],
"focusGuardProfile": "EXTREME",
"selectedThemeId": "CYBER_PUNK"
}You can use Gradle commands directly from the terminal to manage, compile, and run the project:
| Task | Command | Description |
|---|---|---|
| Clean Build | ./gradlew clean |
Clears all cached build outputs and gradle metadata. |
| Compile Debug APK | ./gradlew assembleDebug |
Generates the debug APK at app/build/outputs/apk/debug/app-debug.apk. |
| Run Lints | ./gradlew lint |
Checks the Kotlin code for code-smell and styling guidelines. |
| Run Unit Tests | ./gradlew test |
Evaluates all unit tests written for BackupUtils and controllers. |
FocusFlow DXT is released under the MIT Open Source License. See the LICENSE details for terms.
- Lead Developer: Sudhir Singh
- ๐ GitHub Username: @SudhirDevOps1
- ๐ Active Repository: FocusFlow-DXT
Made with โค๏ธ for students who want to study smarter, not harder.
FocusFlow DXT โ Your Digital Study Companion
