Skip to content

AkarshGupta4/BMIAPP

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BMIAPP

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.

Features

  • 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.

Screenshots

Add screenshots here if available.

Getting Started

Prerequisites

  • Android Studio (recommended)
  • Android device or emulator (API 24+)

Installation

  1. Clone the repository:
    git clone https://github.com/AkarshGupta4/BMIAPP.git
  2. Open the project in Android Studio.
  3. Build and run the app on an emulator or device.

Usage

  1. Launch the app.
  2. Navigate through the animated splash and main screens.
  3. Enter your weight and height.
  4. Tap the "Calculate" button to see your BMI and corresponding health category.

Code Overview

  • 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.

How BMI is Calculated

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))

Contributing

Contributions are welcome! Please open issues or submit pull requests for improvements or bug fixes.

License

This project does not currently include a license. Please add one if you intend for others to use or modify your code.

Author

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages