This is a simple BMI (Body Mass Index) calculator Android app developed using Kotlin. The app calculates BMI based on user input for weight (in kilograms) and height (in meters). It also provides a BMI category based on the calculated BMI.
- BMI Calculation: The app calculates BMI using the standard formula: weight (kg) / height (m)^2.
- BMI Category: Based on the calculated BMI, the app provides a category (Underweight, Normal weight, Overweight, or Obese).
- Error Handling: The app checks for empty fields and invalid input (e.g., weight <= 0, height <= 0).
- Unit Conversion: The app supports both metric (kg/m) and imperial (lb/in) units for weight and height.
To run this project on your local machine, follow these steps:
- Clone this repository:
git clone https://github.com/Muhammad-Waseem1306/BMI_Calculator.git
OR you can download zip file - Open the project in Android Studio.
- Build and run the project on an emulator or physical device.
Contributions are welcome! If you have any suggestions, bug reports, or feature requests, please open an issue or submit a pull request.
For any inquiries or feedback, please contact [email protected] .