You are on page 1of 26

.

Department Of Computer Engineering

Puranmal Lahoti Government Polytechnic, Latur

(Institute of technology in Latur, Maharashtra)

Year :2023-24

Course Title : MOBILE APPLICATION DEVELOPMENT

Course code: 22617


Micro project Title: BMI CALCULATOR
Roll
Sr.No. Name of Group members Enrollment no. no.

1 Surwase Akhil Dnyaneshwar 2100160196 56

2 Kamble Vaibhav Suresh 2200160031 58

3 Kshirsagar Pruthviraj Dattatray 2200160032 59

4 Dhole Rameshwar Chandrashekhar 2100160151 60

Under the guidance of


Prof. Suryawanshi madam
Maharashtra State
Board of Technical Education
Certificate
This is to certify that the project report entitled BMI CALCULATOR
is successfully completed by the Third Year-Sixth semester students of
the Diploma in Computer Engineering Of the Institute
Roll
Sr.No. Name of Group members Enrollment no. no.

1 Surwase Akhil Dnyaneshwar 2100160196 56

2 Kamble Vaibhav Suresh 2200160031 58

3 Kshirsagar Pruthviraj Dattatray 2200160032 59

4 Dhole Rameshwar Chandrashekhar 2100160151 60

Puranmal Lahoti Government Polytechnic Latur (Code…0016….)


has completed the term work satisfactorily in the course
MOBILE APPLICATION DEVELOPMENT for the Academic Year
2023.to 2024 as prescribed in the curriculum.

Subject Teacher. Head of Department. Principle

Prof. T.P.Sharma S.V.Chavan V.V.Nitnawre


Part – A Micro Project
TITLE: BMI CALCULATOR
1.0. AIM/benefits of micro project
• The aim of developing a BMI (Body Mass Index) Calculator
mobile application is to provide users with a convenient tool to
calculate their BMI based on their height and weight. The
benefits of this micro project include:
• Providing users with a simple and accessible tool to monitor
their health and fitness.
• Raising awareness about the importance of maintaining a
healthy weight.
• Offering a practical application for individuals to track their
progress towards their fitness goals.

2.0 Course Outcomes Addressed


• Understanding of mobile application development principles.
• Proficiency in programming languages such as Java or Swift for Android
and iOS platforms respectively.
• Ability to design user interfaces for mobile applications.
• Knowledge of data handling and calculations within mobile applications.
3.0. Proposed Methodology:
• Requirement Gathering: Understand the user requirements for the BMI
Calculator application, including features and user interface preferences.
• Design: Design the user interface layout and functionality flow of the
application.
• Development: Implement the BMI calculation algorithm and integrate it
into the application. Develop the user interface according to the design.
• Testing: Perform rigorous testing to ensure the application functions
correctly and provides accurate results.
• Deployment: Publish the application to respective app stores (Google Play
Store for Android, Apple App Store for iOS).

4. Group members

Roll
Sr.No. Name of Group members Enrollment no. no.

1 Surwase Akhil Dnyaneshwar 2100160196 56

2 Kamble Vaibhav Suresh 2200160031 58

3 Kshirsagar Pruthviraj Dattatray 2200160032 59

4 Dhole Rameshwar Chandrashekhar 2100160151 60


5.0 . Action Plan :

Activity Name of
Details of activity Activity start complete Responsible
Date date member

Project Initiation 25-8-23 30-8-23 Surwase Akhil

Information Collection 31-8-23 10-9-23 Kamble Vaibhav

Implementation 10-9-23 1-10-23 Kshirsagar Prithviraj

Dhole
Report 1-10-23 20-10-23 Rameshwar

6.0 Resources Required:

Sr.no Name of Resources Specification Qty

1 Internet Google 1

2 Reference books Techknowledge 1


Part – B Micro-Project Report
TITLE : BMI CALCULATOR

1.0 Rationale :
The rationale behind developing a BMI Calculator mobile application is to
leverage the widespread usage of smartphones for health and fitness
monitoring. By providing users with a convenient tool on their mobile
devices, they can easily track their BMI and make informed decisions about
their health.

2.0 Aims /benefit of the Micro-Project :


• The aim of developing a BMI (Body Mass Index) Calculator mobile
application is to provide users with a convenient tool to calculate their
BMI based on their height and weight. The benefits of this micro
project include:
• Providing users with a simple and accessible tool to monitor their
health and fitness.
• Raising awareness about the importance of maintaining a healthy
weight.
• Offering a practical application for individuals to track their progress
towards their fitness goals.

3.0 Course Outcomes Addressed :
• Understanding of mobile application development principles.
• Proficiency in programming languages such as Java or Swift for Android
and iOS platforms respectively.
• Ability to design user interfaces for mobile applications.
• Knowledge of data handling and calculations within mobile applications.
4.0 Literature Review :
• Reviewing existing BMI Calculator applications helps in
understanding the common features, user interface design patterns,
and algorithms used for calculating BMI accurately. Additionally,
studying literature on mobile application development frameworks
and best practices enhances the efficiency and effectiveness of the
development process.

5.0. Actual procedure followed :


• Requirement Gathering: Conducted surveys and user interviews to gather
requirements.
• Design: Created wireframes and UI mockups using design tools.
• Development: Implemented the BMI calculation algorithm in Java for
Android platform using Android Studio.
• Testing: Conducted unit testing and UI testing to ensure accuracy and
usability.
• Deployment: Published the application on Google Play Store after thorough
testing and debugging.

6.0 Actual Resources Used :

Sr.no Name of Resources Specification Qty

1 Internet Google, Chrome 1

2 Reference Books TechKnowledge 1


7.0 Outputs of the Micro-Projects :
• Developed BMI Calculator mobile application available for download on
app stores.
• Enhanced understanding of mobile application development principles.
• Improved proficiency in programming languages and development tools.
• Gained experience in user interface design and testing methodologies.

8.0 Skill Developed / Learning Outcome of this Micro-Project

• Proficiency in mobile application development using relevant programming


languages and tools.
• Ability to design user-friendly interfaces for mobile applications.
• Understanding of algorithms for health-related calculations.
• Project management skills including requirement gathering, design,
development, testing, and deployment.

9.0 Applications of this Micro-Project :


• the BMI Calculator micro-project finds applications in health tracking,
weight management programs, medical consultations, educational tools,
corporate wellness initiatives, public health campaigns, and research
endeavors, serving as a versatile tool for promoting health awareness and
aiding in individual and population health improvement efforts.
10.0 Group Member

Roll
Sr.No. Name of Group members Enrollment no. no.

1 Surwase Akhil Dnyaneshwar 2100160196 56

2 Kamble Vaibhav Suresh 2200160031 58

3 Kshirsagar Pruthviraj Dattatray 2200160032 59

4 Dhole Rameshwar Chandrashekhar 2100160151 60


CODE USED : -

Acticity_main.xml code: -

<?xml version="1.0" encoding="utf-8"?>

<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"

xmlns:app="http://schemas.android.com/apk/res-auto"

xmlns:tools="http://schemas.android.com/tools"

android:layout_width="match_parent"

android:layout_height="match_parent"

android:gravity="center"

android:orientation="vertical"

android:background="@drawable/background"

tools:context=".MainActivity">

<TextView

android:layout_width="wrap_content"

android:layout_height="wrap_content"

android:text="BMI Calculater"
android:textSize="45sp"

android:textColor="#ffff"

android:layout_marginBottom="20dp"

android:textStyle="bold"></TextView>

<LinearLayout

android:layout_width="match_parent"

android:layout_height="wrap_content"

android:gravity="center"

android:layout_marginBottom="20dp"

>

<TextView

android:layout_width="wrap_content"

android:layout_height="wrap_content"

android:text="Weight"

android:textSize="30sp"

android:textColor="#ffff"

></TextView>

<EditText

android:id="@+id/edweg"
android:layout_width="95dp"

android:layout_height="55dp"

android:inputType="numberDecimal"

android:background="#ffff"

android:textSize="25sp"

android:hint="KG"

android:gravity="center"

android:layout_marginLeft="80dp"></EditText>

</LinearLayout>

<LinearLayout

android:layout_width="match_parent"

android:layout_height="wrap_content"

android:gravity="center"

android:layout_marginBottom="20dp"

>

<TextView

android:layout_width="wrap_content"

android:layout_height="wrap_content"
android:text="Height"

android:textSize="30sp"

android:textColor="#ffff"

></TextView>

<EditText

android:id="@+id/edhei"

android:layout_width="95dp"

android:layout_height="55dp"

android:inputType="numberDecimal"

android:background="#ffff"

android:textSize="25sp"

android:hint="cm"

android:gravity="center"

android:layout_marginLeft="80dp"></EditText>

</LinearLayout>

<Button

android:id="@+id/btnres"

android:layout_width="120dp"
android:layout_height="60dp"

android:text="Result"

android:background="@drawable/custombutton"

android:textSize="25sp"

android:textColor="#000"

android:textStyle="bold"

android:layout_marginTop="30dp"

></Button>

<TextView

android:id="@+id/txtinter"

android:layout_width="wrap_content"

android:layout_height="wrap_content"

android:hint="Enter Your Detail "

android:textSize="25sp"

android:textStyle="bold"

android:textColor="#ffff"

android:layout_marginTop="30dp"></TextView>

<TextView

android:id="@+id/txtres"
android:layout_width="wrap_content"

android:layout_height="wrap_content"

android:hint="BMI = ? "

android:textSize="25sp"

android:textStyle="bold"

android:textColor="#ffff"

android:layout_marginTop="30dp"></TextView>

<Button

android:id="@+id/btnreset"

android:layout_width="120dp"

android:layout_height="60dp"

android:text="Reset"

android:background="@drawable/custombutton"

android:textSize="25sp"

android:textColor="#000"

android:textStyle="bold"

android:layout_marginTop="30dp"

></Button>
</LinearLayout>

Activity_main.java code: -

public class MainActivity extends AppCompatActivity {

@Override

protected void onCreate(Bundle savedInstanceState) {

super.onCreate(savedInstanceState);

setContentView(R.layout.activity_main);

final EditText edWeg,edHei;

final TextView txtRes,txtInter;

Button btnRes,btnReset;

edWeg=(EditText) findViewById(R.id.edweg);

edHei= (EditText) findViewById(R.id.edhei);

txtInter=(TextView) findViewById(R.id.txtinter);
txtRes=(TextView) findViewById(R.id.txtres);

btnRes= (Button) findViewById(R.id.btnres);

btnReset= (Button) findViewById(R.id.btnreset);

btnRes.setOnClickListener(new View.OnClickListener() {

@Override

public void onClick(View v) {

String strweg= edWeg.getText().toString();

String strhei= edHei.getText().toString();

if(strweg.equals("")){

edWeg.setError("Please Enter Your Weight ");

edWeg.requestFocus();

return;

if(strhei.equals("")){

edHei.setError("Please Enter Your Height");


edHei.requestFocus();

return;

float weight = Float.parseFloat(strweg);

float height = Float.parseFloat(strhei)/100;

float bmiVlaue = BMICalculate(weight,height);

txtInter.setText(interpreteBMI(bmiVlaue));

txtRes.setText("BMI= "+bmiVlaue);

});

btnReset.setOnClickListener(new View.OnClickListener() {

@Override

public void onClick(View v) {

edHei.setText("");
edWeg.setText("");

txtInter.setText("");

txtRes.setText("");

});

public float BMICalculate(float weight,float height){

return weight / (height * height);

public String interpreteBMI(float bmiValue){

if( bmiValue <16){

return "Servely Underweight";

else if(bmiValue <18.5){

return "Underweight";

else if(bmiValue < 25){

return "Normal";

}
else if(bmiValue <30){

return "OverWeight";

else

return "Obese";

Activit_main.java code

public class MainActivity extends AppCompatActivity {

@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);

final EditText edWeg,edHei;


final TextView txtRes,txtInter;
Button btnRes,btnReset;

edWeg=(EditText) findViewById(R.id.edweg);
edHei= (EditText) findViewById(R.id.edhei);

txtInter=(TextView) findViewById(R.id.txtinter);
txtRes=(TextView) findViewById(R.id.txtres);

btnRes= (Button) findViewById(R.id.btnres);


btnReset= (Button) findViewById(R.id.btnreset);

btnRes.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {

String strweg= edWeg.getText().toString();


String strhei= edHei.getText().toString();

if(strweg.equals("")){
edWeg.setError("Please Enter Your Weight ");
edWeg.requestFocus();
return;
}
if(strhei.equals("")){
edHei.setError("Please Enter Your Height");
edHei.requestFocus();
return;
}

float weight = Float.parseFloat(strweg);


float height = Float.parseFloat(strhei)/100;

float bmiVlaue = BMICalculate(weight,height);


txtInter.setText(interpreteBMI(bmiVlaue));
txtRes.setText("BMI= "+bmiVlaue);

}
});
btnReset.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
edHei.setText("");
edWeg.setText("");
txtInter.setText("");
txtRes.setText("");
}
});

}
public float BMICalculate(float weight,float height){
return weight / (height * height);
}
public String interpreteBMI(float bmiValue){
if( bmiValue <16){
return "Servely Underweight";
}
else if(bmiValue <18.5){
return "Underweight";
}
else if(bmiValue < 25){
return "Normal";
}
else if(bmiValue <30){
return "OverWeight";
}
else
return "Obese";
}
}
OUTPUT: -

You might also like