Stop Watch App ⏱️
This is a simple Android Stop Watch app built using Kotlin and the Android SDK. It features a user-friendly interface that allows users to start, stop, and reset the timer with precise time tracking (minutes, seconds, and milliseconds).
- Start, Stop, Reset Buttons: Provides functionality to start, stop, and reset the timer. 🟢🛑🔄
- Time Display: Displays elapsed time in the format
MM:SS:MM. 🕑 - Real-time Updates: The time updates every 50 milliseconds using a Handler. ⏳
- Programming Language: Kotlin 🖥️
- IDE: Android Studio 💡
- Android SDK: Used for building the app and providing necessary APIs 🛠️
- UI Framework: XML Layouts, ConstraintLayout for UI design 🖼️
- Libraries: Android Handler for updating the UI on the main thread ⚙️
- Start Button: Press the
STARTbutton to begin the timer. TheSTOPbutton will be enabled once the timer starts. 🟢 - Stop Button: Press the
STOPbutton to halt the timer. TheSTARTandRESETbuttons will be enabled. 🛑 - Reset Button: Press the
RESETbutton to reset the timer to00:00:00. 🔄
- Handler: Used to update the UI at regular intervals (every 50 milliseconds). 🕰️
- Runnable: Runs the update logic for the timer. ⚙️
- Time Calculation: Elapsed time is calculated using
SystemClock.uptimeMillis(), which is precise and keeps track of the time from the system boot. ⏳
- Android Studio 4.0 or higher 💻
- Android API 21+ (Lollipop) or higher 📱
To run this project, clone the repository and open it in Android Studio.
git clone https://github.com/Surendhar-V/StopWatch.git