This is a workout Android application made in KOTLIN.
This is a 10 min workout android mobile application made in Kotlin and Android studio. It is useful for doing home exercises and workouts. The app has four screens Home screen, Exercise screen, BMI calculator screen, and History screen.
On the home, screen the user has 3 buttons, the start button, BMI calculator button, and history button. Once a user clicks on the start button, a small timer pops up with the next exercise label and tells the user to get ready for a workout in the next 10 seconds.
Once the ready timer ends, the user is directed to the exercise screen where the user gets introduced with the exercise name via text to speech feature and shows to do exercise on the screen through an Image. This screen has an exercise image along with a short description using sound. There are little icons at the bottom of the screen which tells the user about the current exercise and remaining exercises. Each exercise workout has a timer which gets ended the user is directed to the next exercise.
On clicking upon the BMI button user will be able to calculate his Body Mass Index value. The user has to input his weights in kg and height in cms, then clicking on the submit button will show the BMI value with some extra information. Besides the user can also input the weight and height in US units like a weight in pounds, height in feets and inches.
On clicking over the history button user can also view his past workout history list in the recycler view. In this section, the user can watch all his previous workouts with the date and time information.The user can also quit his workout in between and resume later.
- Android Studio - To create the complete Application.
- Kotlin and Java - Programming language used to code the app.
- SQLite - Create the data base for user History.
⚡️ Home Workout Android App
⚡️ Made using Kotlin, SQLite and Android Studio
⚡️ Audio and Media Player
⚡️ Text to speech
⚡️ Past workout history is visible
✔️ Home Screen
✔️ Exercise Screen
✔️ Body Mass Index Calculator Screen
✔️ History Screen
I have learned a bunch of very fundamental features of Android
● I learned to setup UI, to get rid of the action bar, to add screen intents, and to customize the toolbar.
● I learned to implement Custom UI elements for the progress bar to tick counter clock.
● Adding the Model and Constants for the exercises and testing it.
● Learned to include Text to speech feature, adding a media player to play a sound once the exercise is over.
● Creating a finish activity. Setting up the CustomDialog for the back button.
● I also learned to add Custom RadioGroups with RadioButtons.
● Learned the difference between View Gone and View Invisible.
● Brief learning to use SQLite about using Primary key, to create a table and Datatypes, CRUD operations and working of database tables, adding SqliteOpenHelper and storing Data permanently in Database, Reading the Database entries and preparing the ListView Layout.
● To prepare recycler view for the bottom to display exercise number, and to create custom recycler view adapter and View Holder.
- Fork the Repository.
- Clone to local machine using git bash or command line.
- Install into your Android Mobile Phone using Android Studio.
- Contributions are appreciated.
- NOTE: Make sure to create a seperate branch for each PR.
-
Option 1
- 🍴 Fork this repo!
-
Option 2
- 👯 Clone this repo to your local machine.
- Build your code 🔨🔨🔨
- 🔃 Create a new pull request.