Android Eye Test & Eye Care App (Jetpack Compose) — Visual Tests, Exercises, Analytics
A complete Android eye testing & eye care app built with Kotlin + Jetpack Compose. It helps users screen visual acuity, run color vision (Ishihara), astigmatism, contrast sensitivity, and Amsler grid checks, plus guided eye exercises, vision boosters, and a daily progress tracker. Includes a simple “Share with Doctor” summary export.
Live Demo & Documentation
- Demo APK: https://1drv.ms/u/c/e0e029d1a9a2913d/Ee_kyn5k-OlEmTZJJIRtj2IBYrURaCckT1DEcEj4n7MpqQ?e=hiH0JG
Key Features
Comprehensive Eye Tests
- Visual Acuity: Snellen “E” / optotype flow with direction inputs (↑ ↓ ← →)
- Color Vision (Ishihara): clean plates with “Correct/Unsure” flow
- Astigmatism: radial line (sunburst) chart
- Contrast Sensitivity: grayscale bars with faint embedded letters/patterns
- Amsler Grid: center fixation dot with “Report Distortion” action
Exercises & Vision Boosters
- Smooth Pursuits: tracking dot on an ∞ path (Start/Pause + timer)
- Near–Far Focus: 20s cycles between phone dot & distant point
- Color Match: pick the odd hue from nearly identical squares
- Peripheral Pop: tap faint edge shapes to build awareness
Safety & Wellness
- 20–20–20 Timer: look 20 ft away for 20s, gentle reminders
- Blink Reminders: chip prompts to maintain tear film
- Posture/Distance Tips: simple diagrams for healthy viewing
Progress & Sharing
- Dashboard: Today’s score ring, streak badge, mini charts
- Trends: 2-week visual acuity line, exercise completions
- Share with Doctor: one-tap text summary export
Technical Specifications
- Language: Kotlin
- UI: Jetpack Compose (Material 3)
- Architecture: MVVM, state hoisting, simple repository layer
- Min SDK (example): 24+ (Android 7.0 Nougat) — adjust to your needs
- Persistence: lightweight local storage for scores/history
- Tooling: Android Studio (latest stable)
- Dependencies: Compose BOM/Material3/Navigation (documented in build files)
Requirements & Compatibility
- Android Studio (Arctic Fox or newer, ideally the latest stable)
- Android SDK + Gradle per project configuration
- Tested on common 16:9 and 20:9 devices; responsive Compose layouts
Installation & Usage
- Open the project in Android Studio.
- Sync Gradle and run on a device/emulator.
- Set default test distance hints (e.g., 40–50 cm) and toggles in the config constants.
- Customize strings, colors, and icons to match your brand.
- Build a release APK/AAB via Build > Generate Signed Bundle/APK.
Customization Options
- Theme & Branding: edit color scheme and typography in the Compose theme files.
- Feature Toggles: enable/disable tests or exercises from configuration.
- Thresholds & Timers: adjust Ishihara flows, pursuit speed, 20–20–20 intervals.
- Doctor Summary Template: update shareable text in the analytics module.
- Localization: add translations via standard
strings.xml resources.
Folder Structure (Overview)
- ui/ — screens, components, navigation
- domain/ — models, use cases
- data/ — repositories, local storage
- resources/ — strings, icons, sample assets
- docs/ — quick start & customization notes
Item Overview (for search)
Use cases: eye test app, color blind test, vision test, visual acuity check, Ishihara app, astigmatism test, contrast sensitivity, Amsler grid, eye exercises, 20–20–20 timer, blink reminders, posture tips, vision boosters, daily tracker, Android source code, Jetpack Compose template.
Support
Includes basic documentation and clean code for quick setup. For customization requests (new tests, UI tweaks, localization), please contact via the CodeCanyon support channel.
Credits
- All UI built with Jetpack Compose.
- Demo images/screens hosted on your CDN (replace URLs above). Ensure they are compressed and optimized for fast load.
- Fonts/icons: default Android/Material assets unless you replace them. Add credits if you include third-party art.
Important (Medical Disclaimer)
This is a screening & wellness template and not a medical device. It does not provide diagnosis. Always consult a qualified eye-care professional for clinical evaluation.
Changelog
- v1.0 — Initial release: tests, exercises, analytics, doctor share, Compose UI.