Skip to content

mkshaonexe/PVC-Perseverance

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

318 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ… Perseverance PVC - Advanced Pomodoro Timer App

A feature-rich, minimalist Pomodoro timer app with intelligent auto-save, beautiful onboarding, and comprehensive customization options.

Built with modern Android development practices using Jetpack Compose, this app provides a distraction-free focus environment with advanced productivity features.


✨ Core Features

🎯 Pomodoro Timer System

  • 25-minute work sessions with 5-minute short breaks and 15-minute long breaks
  • Smart session tracking with visual indicators (4 circles) for completed sessions
  • Intuitive play/pause controls with smooth animations
  • Session completion rewards and progress visualization
  • Customizable timer durations (5, 10, 50, 60 minutes or custom)
  • Subject-based study tracking with custom subject creation

🎨 Interactive Visual Experience

  • Dynamic illustrations - Changes based on timer state (study/home images)
  • Smooth animations with visual feedback during timer states
  • Material 3 Design system implementation
  • Responsive UI that adapts to different screen sizes

πŸ’Ύ Intelligent Auto-Save System

  • Periodic auto-save every 5 seconds while timer is running
  • Crash recovery - Never lose your study time, even if app crashes
  • Force-close protection - Study time preserved when app is force-closed
  • Battery death recovery - Maximum 5 seconds of data loss
  • Background persistence - Timer state saved across app restarts

πŸš€ Advanced Features

πŸŽ“ Modern Onboarding Experience

  • 5-page interactive tutorial for first-time users
  • Beautiful gradient design with animated page indicators
  • Feature highlights with color-coded icons
  • Skip option for experienced users
  • One-time experience - Never shows again after completion

βš™οΈ Comprehensive Settings System

  • Dark Mode Selection (Light/Dark/System) with persistent storage
  • Timer Background Control - Continue timer when switching apps
  • Session Reset Scheduling - Automatic daily resets
  • UI Customization - Hide navigation/status bars during focus
  • System Integration - Follow system font settings
  • Time Management - Customizable day start time (48 time options)
  • Multi-language Support - 9 languages (English, Spanish, French, German, Chinese, Japanese, Korean, Hindi, Arabic)
  • Focus Mode - Do Not Disturb integration during sessions
  • Permission Management - Direct access to system settings

πŸ“Š Progress Tracking & Analytics

  • Study time statistics with detailed insights
  • Session history and progress visualization
  • Dashboard analytics for productivity insights
  • Subject-based tracking with breakdown charts
  • Weekly and daily summaries
  • Developer mode for testing and manual time entry

πŸ‘₯ Study Groups (Coming Soon)

  • Collaborative focus sessions - Join or create study groups
  • Group statistics and shared progress tracking
  • Social learning features for enhanced motivation

πŸ› οΈ Technical Excellence

Modern Architecture

  • MVVM Pattern with ViewModel and StateFlow
  • Repository Pattern for clean data management
  • Jetpack Compose for modern UI development
  • Material 3 Design system implementation

Performance & Reliability

  • DataStore Preferences for efficient data persistence
  • Coroutine-based async operations
  • Lifecycle-aware components
  • Memory-efficient operations

Dependencies & Libraries

  • androidx.lifecycle:lifecycle-viewmodel-compose:2.7.0 - ViewModel integration
  • androidx.datastore:datastore-preferences:1.0.0 - Data persistence
  • com.google.code.gson:gson:2.10.1 - JSON serialization
  • com.google.accompanist:accompanist-pager:0.32.0 - Swipe navigation
  • androidx.compose.material:material-icons-extended - Extended icon set

πŸ‘¨β€πŸ’» Developer Information

Mkshaon β€” Lead Developer

🌐 Connect with me:


🎯 SEO & App Store Optimization

Keywords & Tags

  • Pomodoro Timer, Focus App, Productivity, Study Timer, Time Management
  • Jetpack Compose, Android Development, Material Design
  • Auto-save, Crash Recovery, Background Timer, Study Analytics
  • Minimalist Design, Distraction-free, Focus Environment

Target Audience

  • Students and professionals seeking improved focus
  • Productivity enthusiasts using Pomodoro technique
  • Android users wanting modern, feature-rich timer apps
  • Users who need reliable study time tracking

Unique Selling Points

  • Never lose study time with intelligent auto-save
  • Beautiful onboarding for seamless first-time experience
  • Comprehensive customization for personal preferences
  • Modern Android development with latest technologies
  • Crash-proof design with maximum 5-second data loss

πŸ“± User Experience

Getting Started

  1. First Launch: Beautiful onboarding experience guides you through all features
  2. Start Timer: Tap the play button (β–Ά) to begin your focus session
  3. Auto-Save: Your study time is automatically saved every 5 seconds
  4. Complete Sessions: Visual indicators show your progress (4 circles)
  5. Take Breaks: Automatic 5-minute short breaks and 15-minute long breaks

Settings & Customization

Access comprehensive settings via the settings icon (βš™οΈ) in the top header:

🎨 Appearance & Theme

  • Dark Mode: Light/Dark/System theme selection
  • Navigation Control: Hide/show bottom navigation bar
  • Status Bar: Auto-hide during focus sessions
  • System Integration: Follow device font settings

⏱️ Timer Behavior

  • Background Timer: Continue when switching apps
  • Daily Reset: Automatic session counter reset
  • Day Start Time: Customize when your day begins (48 time options)
  • Focus Mode: Do Not Disturb integration

🌍 Localization

  • Multi-language: 9 supported languages
  • Time Zones: Customizable day start times
  • System Integration: Follow device settings

πŸ—οΈ Project Architecture

File Structure

β”œβ”€β”€ app/
β”‚   β”œβ”€β”€ src/main/java/com/perseverance/pvc/
β”‚   β”‚   β”œβ”€β”€ MainActivity.kt                    # Main app entry point
β”‚   β”‚   β”œβ”€β”€ data/                             # Data layer
β”‚   β”‚   β”‚   β”œβ”€β”€ StudyRepository.kt            # Study data management
β”‚   β”‚   β”‚   └── SettingsRepository.kt        # Settings persistence
β”‚   β”‚   └── ui/                              # UI layer
β”‚   β”‚       β”œβ”€β”€ screens/                     # Screen composables
β”‚   β”‚       β”‚   β”œβ”€β”€ PomodoroScreen.kt        # Main timer screen
β”‚   β”‚       β”‚   β”œβ”€β”€ SettingsScreen.kt        # Settings interface
β”‚   β”‚       β”‚   β”œβ”€β”€ OnboardingScreen.kt      # First-time user guide
β”‚   β”‚       β”‚   β”œβ”€β”€ Page1Screen.kt          # Insights dashboard
β”‚   β”‚       β”‚   β”œβ”€β”€ Page2Screen.kt          # Analytics dashboard
β”‚   β”‚       β”‚   β”œβ”€β”€ GroupScreen.kt           # Study groups
β”‚   β”‚       β”‚   β”œβ”€β”€ MenuScreen.kt            # Main menu
β”‚   β”‚       β”‚   └── DeveloperModeScreen.kt    # Developer tools
β”‚   β”‚       β”œβ”€β”€ components/                    # Reusable UI components
β”‚   β”‚       β”‚   β”œβ”€β”€ TopHeader.kt             # App header
β”‚   β”‚       β”‚   β”œβ”€β”€ BottomNavigationBar.kt   # Navigation component
β”‚   β”‚       β”‚   β”œβ”€β”€ RadarChart.kt            # Analytics charts
β”‚   β”‚       β”‚   └── WeeklyStudyChart.kt      # Study time charts
β”‚   β”‚       β”œβ”€β”€ viewmodel/                    # Business logic layer
β”‚   β”‚       β”‚   β”œβ”€β”€ PomodoroViewModel.kt     # Timer logic
β”‚   β”‚       β”‚   β”œβ”€β”€ SettingsViewModel.kt     # Settings management
β”‚   β”‚       β”‚   β”œβ”€β”€ StudyViewModel.kt        # Study data logic
β”‚   β”‚       β”‚   └── InsightsViewModel.kt     # Analytics logic
β”‚   β”‚       └── theme/                       # Design system
β”‚   β”‚           β”œβ”€β”€ Color.kt                 # Color palette
β”‚   β”‚           β”œβ”€β”€ Theme.kt                 # Theme definitions
β”‚   β”‚           └── Type.kt                 # Typography
β”‚   └── src/main/assets/
β”‚       └── focus_1_400.mp4                  # Focus video background (planned)

Architecture Patterns

  • MVVM (Model-View-ViewModel): Clean separation of concerns
  • Repository Pattern: Centralized data access
  • StateFlow: Reactive state management
  • Compose Navigation: Modern navigation system

πŸš€ Getting Started

Prerequisites

  • Android Studio Arctic Fox or later
  • Android SDK 24+ (Android 7.0+)
  • Kotlin 1.8.0+
  • Gradle 7.0+

Installation

  1. Clone the repository

    git clone https://github.com/mkshaonexe/Perseverance_pvc.git
    cd Perseverance_pvc
  2. Open in Android Studio

    • Open Android Studio
    • Select "Open an existing project"
    • Navigate to the project folder
  3. Sync and Build

    ./gradlew assembleDebug
  4. Install on Device

    • Connect Android device or start emulator
    • Run the app from Android Studio

Development Setup

# Install dependencies
./gradlew build

# Run tests
./gradlew test

# Generate APK
./gradlew assembleRelease

πŸ§ͺ Testing & Quality Assurance

Auto-Save Testing

  • βœ… Force-close protection - Study time preserved
  • βœ… Crash recovery - Maximum 5-second data loss
  • βœ… Background persistence - Timer state maintained
  • βœ… Battery death recovery - Data integrity maintained

Feature Testing

  • βœ… Onboarding flow - First-time user experience
  • βœ… Settings persistence - All preferences saved
  • βœ… Timer functionality - Play/pause/resume cycles
  • βœ… Subject tracking - Custom subject creation and management
  • βœ… Analytics dashboard - Study time visualization

Performance Testing

  • βœ… Memory efficiency - Optimized operations
  • βœ… Battery optimization - Efficient background operations
  • βœ… Smooth animations - 60fps UI interactions
  • βœ… Fast startup - Quick app launch times

πŸ“ˆ Future Roadmap

Planned Features

  • 🎬 Video Background - Focus video playback during sessions
  • 🎨 Theme Customization - Advanced color schemes
  • πŸ“Š Advanced Analytics - Detailed productivity insights
  • πŸ‘₯ Study Groups - Collaborative focus sessions
  • πŸ”” Smart Notifications - Intelligent reminder system
  • 🌐 Cloud Sync - Cross-device data synchronization
  • 🎡 Focus Sounds - Ambient audio options

Technical Improvements

  • πŸ”§ Performance Optimization - Enhanced battery life
  • πŸ›‘οΈ Security Enhancements - Data encryption
  • 🌍 Internationalization - Full multi-language support
  • β™Ώ Accessibility - Enhanced screen reader support

πŸ“„ License

This project is developed by Mkshaon and is available for educational and personal use.


🀝 Contributing

We welcome contributions! Please feel free to:

  • πŸ› Report bugs and issues
  • πŸ’‘ Suggest new features
  • πŸ”§ Submit pull requests
  • πŸ“– Improve documentation

Contact: mkshaon2024@gmail.com


πŸ“ž Support & Contact

Need help or have questions?


Built with ❀️ by Mkshaon using modern Android development practices.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published