The Step Counter App is an Android application designed to help users monitor their daily steps using the built-in sensors of their smartphones. This project is built using Kotlin and Java, showcasing the capabilities of Android's sensor APIs and efficient data handling techniques.
- Real-time Step Counting: Utilizes the device's accelerometer to count steps accurately.
- Daily Tracking: Keeps track of daily step counts and stores historical data.
- User-friendly Interface: Simple and intuitive UI for easy navigation and real-time updates.
- Minimal Battery Consumption: Optimized to use minimal battery power while tracking steps.
To run the Step Counter App on your device, follow these steps:
- Clone the repository:
git clone https://github.com/your-username/step-counter-app.git
- Open the project in Android Studio.
- Build and run the application on your Android device or emulator.
- Launch the app on your Android device.
- Start walking and see your steps being counted in real-time.
- Check your daily step count and history in the app.
The project follows a simple structure for easy understanding and modification:
- MainActivity.java: The main activity that initializes the step counter and updates the UI.
- StepCounterService.java: A background service that handles step counting using the accelerometer.
- DatabaseHelper.java: Manages the storage and retrieval of step count data.
Contributions are welcome! If you have any ideas or improvements, feel free to open an issue or submit a pull request.
For any inquiries or suggestions, please contact Sasmitha at sasmithab@gmail.com.