Professional Documents
Culture Documents
CSE - 2020 - 21 - Batch10 - BMI Calculator App Report
CSE - 2020 - 21 - Batch10 - BMI Calculator App Report
2020-21
MOBILE APPLICATION DEVELOPMENT[18CSMP68]
Mini Project Report
On
BMI CALCULATOR
By
Mr. SAGAR B
Assistant Professor
Dept. of CSE, VVIET
CERTIFICATE
Certified that the MAD Mini Project Work entitled “BMI CALCULATOR” carried out
by GUNA SHREE K [4VM19CS404] and SUMA N [4VM19CS411], bonafide students of
VVIET in partial fulfillment for the award of degree Bachelor of Engineering in
COMPUTER SCIENCE and ENGINEERING as prescribed by VISVESVARAYA
TECHNOLOGICAL UNIVERSITY, BELGAUM during the academic year 2020-21. It is
certified that all corrections/suggestions indicated for internal assessment have been
incorporated in the report deposited in the departmental library. The project report has
been approved as it satisfies the academic requirements in respect of mini project work
prescribed for the said degree.
EXTERNAL VIVA
Name of the examiners Signature with date
1.
2.
ACKNOWLEDGEMENT
We would like to thank and express our heartfelt gratitude to God almighty for the
abundant blessings without which this project would not have been successful.
We would like to express our sincere gratitude to Sri. Vasu, Chairman of
VVIET, Mr. Kaveesh Gowda V, Secretary of VVIET and all management members of
VVIET, for their constant support.
We acknowledge and express our sincere thanks to our beloved
Principal
Dr. Ravishankar M, VVIET, Mysuru who is the source of inspiration.
We would like to express our deepest sense of gratitude towards Dr. Madhu B K,
Head of the Department, CSE, VVIET, Mysuru for his valuable suggestions, support and
encouragement.
We would like to extend our heartfelt gratitude to Mr. sagar, Assistant Professor,
Dept. of CSE, for the valuable guidance and advice. We would also like to thank him for
his guidance and useful suggestions, which helped us in completing the project work on
time.
We would also thank all other teaching and non-teaching staffs of the
Computer
Science Department who has directly or indirectly helped us in completion of this project.
Our thanks and appreciation also go to our family and friends who have willingly
helped us out with their abilities.
Regards,
GUNA SHREE K
SUMA N
ABSTRACT
The BMI Calculator App is a software application which avoids more manual
hours that need to spend in personally calculate and find the BMI for a
particular person at a single click. This application keeps both the standard in it
ie American standard and Indian standard too.This app gives us all the
information in both the standards which is not given in existing app.The main
scope is to maintain the health. The BMI App gives us all the information ie it
gives suggestion for our health and tells us what should we eat and what to
avoid. When we enter the height and weight we get all the information ie are we
overweight or underweight etc.
TABLE OF CONTENTS
Acknowledgement i
Abstract ii
1. Introduction 1-2
1.1 Aim 1
1.2 Usage 1
1.5 Advantages 2
2. Literature Survey 3
Conclusion 21
Future Enhancement 22
References 23
BMI CALCULATOR
CHAPTER 1
INTRODUCTION
In the calculation of the BMI machine there are are two parameters used height and
the weight.It calculates the fat content in the body. BMI machine gives only
approximate values Even though the BMI is used to is used to measure the fat
content of the body than the other fat measurement techniques. For children and
adolescents aged 2–19 y, the performance of BMI-for-age is better than that of RI-
for-age in pre-dicting underweight and overweight but is similar to that of weight-
for-height. Body composition was measured by body density, body water and body
potassium in a series of 104 female and 24 male subjects aged 14-60 years. Other
measurements such as waist circumference and skin thickness can be collected to
indicate a person‟s weight status or body fatness. None of these is as widely used
as BMI
1.1 Aim
1.2 Usage
BMI is only an approximation for determining potential weight problems but it
cannot be used as a diagnostic tool. A person will be on a great risk if they have a
high BMI. Through these measurements physician can recommend different health
risk related to weight. For example Skin fold measurements, fitness of a person,
nutritionist can decide the diet of a person, and other screening of person’s health.
CHAPTER 2
LITERATURE SURVEY
English-language articles on Body Mass Index (BMI) published between 1994 and
2018 were identified via a PubMed search and from references in other articles
using the term BMI. The review revealed 26 articles to describe the relationship
between BMI and other metabolic syndrome factors such as diabetes, hypertension,
and hypercholesterolemia, BMI relationship with waist circumference and waist-
hip ratio, childhood BMI as a health predictor, and limitation of BMI as a health
assessment tool. Based on the studies included in this review, the relationships of
BMI with other variables can be extrapolated to the general population
CHAPTER 3
SYSTEM ANALYSIS
Analysis involves requirement determination and specification. It is basically
establishing the requirements for all system elements and then mapping these
requirements to software forms. It should address issues such as: -
• Hardware Required
• Android Studio
DISADVANTAGES:
The following are the disadvantages of the existing system
I. It is very time consuming
II. Lot of energy and effort is wasted.
III. Wastage of Pages.
IV. Hard to maintain old records.
V. Queries are hard apply.
The BMI Calculator App is software applications which avoids more manual
hours that need to spend in personally calculateand find the BMI for a particular
person at a single click. This application keeps both the standard in it ie American
standard and Indian standard too.This app gives us all the information in both the
standards which is not given in existing app.
A. Technical Feasibility:
This study reveals all the technical aspects and its corresponding results. The
project entitles "BMI Calculator” is technically feasible because of the below
mentioned feature. The project was developed in Android using JAVA which
Graphical User Interface. It provides the high level ofreliability, availability and
compatibility. All these make Eclipse an appropriate language for this project.
Thus our project is technically feasible.
B. Economical Feasibility: Based on the estimates that have been gathered from
the preceding sections of the study, the organization needs to determine its overall
financial situation. Questions such as the following need to be considered: � What
is total startup costs required to begin the operation? � What are the operating
costs are involved? As far as the project is concerned, There are financial benefits
arising due to improved reliability and accuracy of information. The system has
little hardware requirement which minimizes the hardware procurement cost. Thus
the system is economically feasible since it outcasts the entire overhead incurred
due to implementation. The computerized system will help in automate the
selection leading the profits and details of the organization. With this software, the
machine and manpower utilization are expected to go up by 80-90%
approximately. The costs incurred of not creating the system are set to be great,
because precious time can be wanted by manually.
C. Operational Feasibility: The system is easier to handle and does not require
special training to handle it. Proper alerts and messages are provided to inform the
user of any special events. The user will be easily able to adapt to the system. The
system keeps the records very precisely and information can be accessed within
few second.
CHAPTER 4
3. Methodology and Design This research adopts the steps of waterfall model
which progress from one phase to another linearly,
CHAPTER 5
IMPLEMENTATION
5.1program
class MainActivity
package com.learntodroid.bmicalculator;
import androidx.appcompat.app.AppCompatActivity;
import androidx.cardview.widget.CardView;
import android.graphics.Color;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.EditText;
import android.widget.TextView;
import android.widget.Toast;
import android.widget.ToggleButton;
import static
com.learntodroid.bmicalculator.BMICalcUtil.BMI_CATEGORY_HEALTHY;
impor tstatic
com.learntodroid.bmicalculator.BMICalcUtil.BMI_CATEGORY_OVERWEIGHT;
import static
com.learntodroid.bmicalculator.BMICalcUtil.BMI_CATEGORY_UNDERWEIGHT;
@Override
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);
weightKgEditText = findViewById(R.id.activity_main_weightkgs);
heightCmEditText = findViewById(R.id.activity_main_heightcm);
weightLbsEditText = findViewById(R.id.activity_main_weightlbs);
heightFtEditText = findViewById(R.id.activity_main_heightfeet);
heightInEditText = findViewById(R.id.activity_main_heightinches);
calculateButton = findViewById(R.id.activity_main_calculate);
toggleUnitsButton = findViewById(R.id.activity_main_toggleunits);
bmiTextView = findViewById(R.id.activity_main_bmi);
categoryTextView = findViewById(R.id.activity_main_category);
bmiResultCardView = findViewById(R.id.activity_main_resultcard);
inMetricUnits = true;
updateInputsVisibility();
bmiResultCardView.setVisibility(View.GONE);
calculateButton.setOnClickListener(new View.OnClickListener() {
@Override
if (inMetricUnits) {
if (weightKgEditText.length() == 0 || heightCmEditText.length() == 0) {
} else {
displayBMI(bmi);
} else {
if (weightLbsEditText.length() == 0 || heightFtEditText.length() == 0 ||
heightInEditText.length() == 0) {
} else {
displayBMI(bmi);
});
toggleUnitsButton.setOnClickListener(new View.OnClickListener() {
@Override
inMetricUnits = !inMetricUnits;
updateInputsVisibility();
});
if (inMetricUnits) {
heightCmEditText.setVisibility(View.VISIBLE);
weightKgEditText.setVisibility(View.VISIBLE);
heightFtEditText.setVisibility(View.GONE);
heightInEditText.setVisibility(View.GONE);
weightLbsEditText.setVisibility(View.GONE);
} else {
heightCmEditText.setVisibility(View.GONE);
weightKgEditText.setVisibility(View.GONE);
heightFtEditText.setVisibility(View.VISIBLE);
heightInEditText.setVisibility(View.VISIBLE);
weightLbsEditText.setVisibility(View.VISIBLE);
bmiResultCardView.setVisibility(View.VISIBLE);
bmiTextView.setText(String.format("%.2f", bmi));
categoryTextView.setText(bmiCategory);
switch (bmiCategory) {
case BMI_CATEGORY_UNDERWEIGHT:
bmiResultCardView.setCardBackgroundColor(Color.YELLOW);
break;
case BMI_CATEGORY_HEALTHY:
bmiResultCardView.setCardBackgroundColor(Color.GREEN);
break;
case BMI_CATEGORY_OVERWEIGHT:
bmiResultCardView.setCardBackgroundColor(Color.YELLOW);
break;
case BMI_CATEGORY_OBESE:
bmiResultCardView.setCardBackgroundColor(Color.RED);
break;
5.2 screenshot
CHAPTER 6
SYSTEM TESTING
Software testing is a process of executing a program or application with the intent
of finding the software bugs. It can also be stated as the process of validating and
verifying that a software program or application or product meets the business and
technical requirements that guided its design and development. The purpose of
testing can be quality assurance, verification and validation, or reliability
estimation. Testing can be used as a generic metric as well. Correctness testing and
reliability testing are two major areas of testing. Software testing is a trade-off
between budget, time and quality.
6.1. What is Verification and Validation?
Verification is the process to make sure the product satisfies the conditions
imposed at the start of the development phase. In other words, to make sure the
product behaves the way we want it to. Validation is the process to make sure the
product satisfies the specified requirements at the end of the development phase. In
other words, to make sure the product is built as per customer requirements.
6.2. Key Benefits of Testing
The key benefits of testing are
• Reduced risk of failures (or incidents) once systems are transferred to live
operation
• Demonstrative proof that business requirements have been met
• Assurance that the system will function appropriately with existing
legacy systems where required and will integrate with other systems as
necessary
• Assurance that the users for which the solution was designed are able to
operate productively
Acknowledging these benefits requires accepting the reality that testing costs
money. Too much testing could be risky, as it may delay product launch and allow
• Regression Testing
• Beta Testing
CONCLUSION
The package was designed in such a way that future modifications can be done
easily.
The following conclusions can be deduced from the development of the project.
� Automation of the entire system improves the efficiency
� It provides a friendly graphical user interface which proves to be better when
compared to the existing system.
� It gives appropriate access to the authorized users depending on their
permissions.
� It effectively overcomes the time complexity.
� Updating of information becomes so easier.
� System security, data security and reliability are the striking features.
� The System has adequate scope for modification in future if it is necessary
FUTURE ENHANCEMENT
This application avoids the manual work and the problems concern with it.
Centralized management of the database &one app to manage the BMI Calculator
of the different section of the female/male etc.Well I and my team member have
worked hard in order to present an improved project/app better than the existing
one’s regarding the information about the various activities. Still, we found out that
the project can be done in a better way. We can add alter msg to her/him to eat and
excise.
REFERENCES
[1] Gartner Identifies the Top 10 Consumer Mobile Applications for 2012
http://www.gartner.com/newsroom/id/1230413 Accessed on 1 August 2016
[2] Gartner Identifies the Top 10 Strategic Technology Trends for 2014
http://www.gartner.com/newsroom/id/2603623 Accessed on 1 August 2016
[4] Robert S, Joana N B and Seth Y F 2013 Design and Development of a Personal
Health Monitoring System on Android Mobile PlatformInt. J. of Engineering Sci.
and Technol.5 131320
[5] Rao V S and Krishna T M 2014 A Design of Mobile Health for Android
Applications American J. of Engineering Research3 20-9