WorkoutApp is a comprehensive fitness tracking app that combines the functionalities of a running tracker and a 7-minute workout guide. The app allows users to track and monitor their running activities, view their running history and statistics, and perform high-intensity, full-body exercises designed to be completed in just 7 minutes.
To use WorkoutApp, follow these steps:
- Open the app on your device.
- Enter your name and weight in the setup screen and click on the "Continue" button.
- Click on the "Floating Action Button" then "Start" button in the tracking screen to start tracking your running activity.
- During the run, you can see your current location on the map view and the timer will keep track of your running time.
- Once you are done with the run, click on the "Stop" button to end the tracking.
- View your running history in the "Your Runs" screen and sort them using various filters.
- View your overall statistics in the "Statistics" screen, including total distance ran, total time, total calories burned, and average speed.
- On the home screen, tap the "Start Workout" button to begin your 7-minute workout.
- Follow the on-screen instructions to complete each exercise.
- View your workout history and BMI calculation by tapping on the corresponding buttons on the home screen.
- Update your name and weight in the "Settings" screen.
WorkoutApp was built using the following technologies:
- Android Jetpack Components
- MVVM architecture
- Navigation Components
- Retrofit
- Google Maps API
- Kotlin
- RecyclerView
- Dagger-Hilt for dependency injection
- Kotlin Coroutines
This fragment shows a list of saved runs, which can be sorted using various filters such as date, running time, distance, average speed, and calories burned.
In this fragment, users can see their location on a map and stop or pause the run. A stopwatch is also available for reference, and a foreground service runs in the background to track the user's location.
This fragment displays statistics of the user's total runs, such as total average speed, total time ran, total calories burned, and total distance ran.
In this fragment, users can store their data (name and weight). Shared Preferences are used to store and update the data.
In this fragment, users can update their data (name and weight).
To install WorkoutApp, follow these steps:
- Clone the repository to your local machine using
git clone https://github.com/tanmaySinha16/WorkoutApp.git
. - Open the project in Android Studio.
- Build and run the app on an emulator or physical device.
Note: Make sure to allow location permissions for the app to track your running activity.
WorkoutApp is a great tool for fitness enthusiasts who want to keep track of their running activity and improve their performance while also benefiting from high-intensity, full-body workouts. It uses modern Android development practices and libraries to provide a seamless and user-friendly experience.