BMIAPP is an Android application that allows users to easily calculate their Body Mass Index (BMI) based on their weight and height. The app provides instant feedback on whether a user is underweight, healthy, or overweight, and visually reflects the result by changing the background color.
- User-friendly Interface: Simple and clean UI for easy BMI calculation.
- Animated Navigation: Welcome and main screens feature smooth animations.
- Instant BMI Calculation: Enter weight (in kg), height (in feet and inches), and get your BMI instantly.
- Personalized Feedback: Displays messages and color changes based on BMI category (underweight, healthy, overweight).
- Splash Screen: Animated splash screen on app launch.
Add screenshots here if available.
- Android Studio (recommended)
- Android device or emulator (API 24+)
- Clone the repository:
git clone https://github.com/AkarshGupta4/BMIAPP.git
- Open the project in Android Studio.
- Build and run the app on an emulator or device.
- Launch the app.
- Navigate through the animated splash and main screens.
- Enter your weight and height.
- Tap the "Calculate" button to see your BMI and corresponding health category.
MainActivity.java: The main landing screen with animation and navigation to the BMI calculator.secondPage.java: Contains the BMI calculation logic and UI.splashScreen.java: Displays the animated splash screen on startup.- Gradle configuration files for Android project setup.
The app takes user input for weight (in kilograms) and height (in feet and inches), converts the height to meters, and calculates BMI using the formula:
BMI = weight (kg) / (height (m) * height (m))
Contributions are welcome! Please open issues or submit pull requests for improvements or bug fixes.
This project does not currently include a license. Please add one if you intend for others to use or modify your code.