sandesha21/cricket-score-tracker-android-app
Android cricket score keeper application featuring real-time score tracking, wicket management, and match reset capabilities
Cricket Score Tracker ๐
An Android application for tracking cricket match scores between two teams. Keep track of runs, wickets, and match statistics with an intuitive and user-friendly interface.
๐ท๏ธ Keywords & Topics
Primary Keywords: Android Development โข Mobile App โข Cricket Scoring โข Sports Technology โข Java Programming โข Score Tracking
Technical Stack: Android SDK โข Java โข AndroidX โข Gradle โข XML Layouts โข Material Design โข Git Version Control
App Features: Real-time Scoring โข Wicket Management โข Match Reset โข Team Statistics โข User Interface Design โข Touch Controls
Industry: Sports Technology โข Cricket Analytics โข Mobile Gaming โข Educational Apps โข Open Source โข Android Development
Project Type: Native Mobile Application โข Sports Utility โข Educational Project โข Portfolio Showcase
Features
- Score Tracking: Track runs for both teams (1, 2, 3, 4, 6 runs)
- Wicket Management: Count wickets fallen for each team (max 10 per team)
- Match Reset: Reset scores and wickets to start a new match
- Real-time Updates: Instant score updates with button taps
- Clean UI: Simple and intuitive interface for easy scoring
Screenshots
App Features
| Home Screen | Scoring Interface | Match Reset |
|---|---|---|
| Clean interface with team names | Easy run buttons (1,2,3,4,6) | Quick reset functionality |
| Wicket counters for both teams | Real-time score updates | Professional cricket layout |
Demo
Technical Details
- Platform: Android
- Language: Java
- Min SDK: API 24 (Android 7.0)
- Target SDK: API 36
- Build System: Gradle
- Architecture: AndroidX
Getting Started
Prerequisites
- Android Studio (latest version recommended)
- Android SDK API 24+
- Java 8 or higher
- Git
Installation
- Clone the repository
git clone https://github.com/sandesha21/cricket-score-tracker.git cd cricket-score-tracker - Open the project in Android Studio
- Sync Gradle files (Android Studio will prompt automatically)
- Build and run the app on your device or emulator
./gradlew build ./gradlew installDebug
Usage
- Adding Runs: Tap the run buttons (1, 2, 3, 4, 6) under each team to add runs
- Adding Wickets: Tap the wicket button to increment wickets (max 10)
- Reset Match: Use the reset button to start a new match
Troubleshooting
Build Issues
- Gradle sync fails: Try
File โ Invalidate Caches โ Invalidate and Restart - SDK not found: Ensure Android SDK API 24+ is installed via Android Studio SDK Manager
- Java version error: Verify Java 8+ is installed:
java -version
Runtime Issues
- App crashes on launch: Check that all dependencies are properly synced
- UI elements not displaying: Ensure AndroidX is properly configured in
gradle.properties
Project Structure
โโโ app/
โ โโโ src/main/
โ โ โโโ java/com/example/android/trackcricketscore/
โ โ โ โโโ MainActivity.java
โ โ โโโ res/
โ โ โ โโโ layout/
โ โ โ โโโ values/
โ โ โ โโโ drawable/
โ โ โโโ AndroidManifest.xml
โ โโโ build.gradle
โโโ screenshots/
โ โโโ home_screen.png
โ โโโ match_progress.png
โ โโโ demo.webm
โโโ gradle/
โโโ build.gradle
โโโ gradle.properties
โโโ README.md
โโโ PROJECT_DESCRIPTION.md
โโโ .gitignore
โโโ LICENSE
Contributing
- Fork the repository
- Create a feature branch (
git checkout -b feature/new-feature) - Commit your changes (
git commit -am 'Add new feature') - Push to the branch (
git push origin feature/new-feature) - Create a Pull Request
License
This project is licensed under the Apache License 2.0 - see the LICENSE file for details.
๐จโ๐ป Author
Sandesh S. Badwaik
Acknowledgments
- Built as part of Android Basics Nanodegree program
- Inspired by the need for simple cricket scoring solutions
๐ If you found this project helpful, please give it a โญ!