0% found this document useful (0 votes)
24 views15 pages

Mr. Ajay Chawada: Thakur Polytechnic Diploma in Computer Engineering

The document describes a mobile application project to build a BMI calculator app. It includes the code for the main activity class and details steps to get user input, calculate BMI based on weight and height, check for valid input and display the result.

Uploaded by

Vishesh Tiwari
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
24 views15 pages

Mr. Ajay Chawada: Thakur Polytechnic Diploma in Computer Engineering

The document describes a mobile application project to build a BMI calculator app. It includes the code for the main activity class and details steps to get user input, calculate BMI based on weight and height, check for valid input and display the result.

Uploaded by

Vishesh Tiwari
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 15

THAKUR POLYTECHNIC

Diploma in Computer Engineering

TYCO-A

SIXTH SEMESTER (2023-2024)

Group No -16

SUBJECT: MOBILE APPLICATION DEVELOPMENT


(22617)

Name Roll no
Vishesh Tiwari 46

ReenaDubey 47

Aashir Khan 48

Guided By: Mr. AJAY CHAWADA


MAHARASHTRA STATE BOARD OF TECHNICAL
EDUCATION
This is to certify that the following group of students Roll no.
46 to 48 of 6th semester of Diploma in COMPUTER
ENGINEERING of institute, THAKUR POLYTECHNIC
(Code:0522) have successfully completed the Micro Project
satisfactorily in subject- Mobile Application Development
(22617) the academic year 2023 -2024 as prescribed in the
curriculum
Place: MUMBAI Enrollment No:-___________
Date: _________ Seat No:-___________

Subject Teacher Principal Head Of Department

Seal of
institution
ACKNOWLEDGEMENT
We feel immense pleasure in submitting this report of Notes App
While submitting this report, we avail this opportunity to express our
gratitude to all those who helped us in completing this task.
Heading the list with our own honourable Principal Dr. S.M.
Ganechari who is the beginner of our inspiration. We owe our deep
gratitude and also very thankful to our guide HOD Vaishali Rane
And Mr.Ajay Chawada who has proved to be more than just a mere
guide to us. Apart from bringing to us what can be the joy of
successful completion of this project was only possible due to her
guidance and co-operation without which this work would never have
been completed.
Finally, we wish to express our deep sense of respect and gratitude to
each and every staff member who has helped us in many ways and
also our parents who have always bared with us in any critical
situation and to all others, sparing their time and helping us for
completion of this project in whatever way they could. And lastly we
are grateful to each other the members of our group.

THANK YOU!
MICRO PROJECT PROPOSAL
Micro Project Proposal

Subject: - Mobile Application Development (22617)

Title: - BMI Calculator


1.0 Aims/Benefits of the Micro – project
 To study about what is Mobile Application Development.
 To know more about how the methods and functions works .
 Learn more about Mobile Application Development code and implementing it .

2.0 Course Outcomes Addressed(COs)


 Interpret features of Android operating system.
 Configure Android environment and development tools.
 Develop rich user Interfaces by using layouts and controls.
 Use User Interface components for android application development.
 Publish Android applications.

3.0 Proposed Methodology


In order to complete this micro-project of Mobile Application Development. (22617) the
procedure that we will follow is given below.
 Data collection
 Coordination with necessary ethics
 Group discussion
 References from books and internet
 Execution
 Prepare report
 Presentation
 Project submission
4.0 Action Plan
Sr Planned Start Planned Name Of Responsible Team
Details Of Activity
No Date Finish Date Members
1 Information search 02/01/2024 23/01/2024 Vishesh
24/01/2024 07/02/2024
2 Group Discussion All team members
3 Taking reference 08/02/2024 28/02/2024 Aashir, Reena
4 Executions 29/02/2024 18/03/2024 Vishesh
5 Compilation of reports 19/03/2024 28/03/2024 All team members
Presentation and report
6 29/03/2024 14/04/2024 Vishesh
submission

5.0 Resources required


Sr. Name of Specification Quantity
No Resource/material
1. Google chrome Search engine 1

2. Microsoft Word Office 365 1

3. Software Windows11 1

4. Android Studio Iguana 1

6.0 Names of Team members with Roll Nos


Name Roll no
Vishesh Tiwari 46
ReenaDubey 47
Aashir Khan 48

Mr.Ajay Chawada
(Lecturer)
MICRO PROJECT REPORT
Micro Project Report

Subject: - Mobile Application Development (22617)


Title: - BMI Calculator

1.0) Rationale

The BMI calculator offers a quick assessment of body weight relative to height, aiding in health
risk identification. Widely accepted and easily accessible, it provides valuable insights into
potential health risks, promoting informed decisions for lifestyle adjustments. While limitations
exist, such as neglecting muscle mass, its simplicity and widespread use make it a vital tool for
healthcare professionals, individuals, and public health initiatives in monitoring and addressing
population health concerns.
2.0) Aims/Benefits of the micro project
 To study about what is Mobile Application Development.
 To know more about how the methods and functions works .
 Learn more about Mobile Application Development code and implementing it .

3.0) Course outcome Achieved


 Interpret features of Android operating system.
 Configure Android environment and development tools.
 Develop rich user Interfaces by using layouts and controls.
 Use User Interface components for android application development.
 Publish Android applications.

4.0) Literature Review


A BMI calculator is a widely-used tool to assess an individual's body mass index (BMI) based
on their weight and height. It serves as a simple indicator of body fatness and health risk.
Research indicates its utility in various fields, including healthcare, fitness, and nutrition. While
it offers a quick assessment of weight status, its limitations in accurately measuring body
composition are recognized, particularly in diverse populations and athletes.
5.0) Actual Methodology
Once the micro project title was given, the given particular topic was divided into smaller
subtopics which then were sent to all the group members. Once the group members received
their subtopics on which they had to work , the team members researched their sub topic and
sent their respective information to the team group so that everyone can read and understand.
This information was then accumulated in a report and submitted to Mr.Ajay Chawada Sir for
correction.

6.0) Actual Resource Used

Sr. Name of Specification Quantity


No Resource/material

1. Google chrome Search engine 1

2. Microsoft Word Office 365 1

3. Software Windows11 1

4. Android Studio Iguana 1

7.0)Output of Micro project


Language Translator App

Code:

MainActivity.java

package com.example.bmicalculator;

import android.os.Bundle;

import android.view.View;

import android.widget.Button;

import android.widget.EditText;

import android.widget.TextView;
import androidx.appcompat.app.AppCompatActivity;

public class MainActivity extends AppCompatActivity {

private EditText editTextWeight;

private EditText editTextHeight;

private Button btnCalculate;

private TextView textViewResult;

@Override

protected void onCreate(Bundle savedInstanceState) {

super.onCreate(savedInstanceState);

setContentView(R.layout.activity_main);

editTextWeight = findViewById(R.id.editTextWeight);

editTextHeight = findViewById(R.id.editTextHeight);

btnCalculate = findViewById(R.id.btnCalculate);

textViewResult = findViewById(R.id.textViewResult);

btnCalculate.setOnClickListener(new View.OnClickListener() {

@Override

public void onClick(View v) {

calculateBMI();

});

private void calculateBMI() {

try {

// Get weight and height from EditText fields

double weight = Double.parseDouble(editTextWeight.getText().toString());

double height = Double.parseDouble(editTextHeight.getText().toString());


// Check if weight and height are valid

if (weight <= 0 | height <= 0) {

textViewResult.setText("Please enter valid weight and height.");

return;

// Calculate BMI

double bmi = weight / (height * height);

// Display the result and BMI category

String resultText = "BMI: " + String.format("%.2f", bmi) + "\nCategory: " +

getBMICategory(bmi);

textViewResult.setText(resultText);

} catch (NumberFormatException e) {

// Handle the case where the input cannot be converted to a number

textViewResult.setText("Invalid input. Please enter valid numeric values.");

private String getBMICategory(double bmi) {

if (bmi < 18.5) {

return "Underweight";

} else if (bmi < 24.9) {

return "Normal Weight";

} else if (bmi < 29.9) {

return "Overweight";

} else {

return "Obese";

}
}

activity_main.xml:

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

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

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

android:layout_width="match_parent"

android:layout_height="match_parent"

android:paddingLeft="16dp"

android:paddingTop="16dp"

android:paddingRight="16dp"

android:paddingBottom="16dp"

tools:context=".MainActivity"

android:background="@drawable/bg">

<EditText

android:id="@+id/editTextWeight"

android:layout_width="match_parent"

android:layout_height="wrap_content"

android:hint="Enter Weight (kg)"

android:inputType="numberDecimal"

android:textColorHint="#F9F6EE"

android:textColor="#F9F6EE"/>

<EditText

android:id="@+id/editTextHeight"

android:layout_width="match_parent"

android:layout_height="wrap_content"

android:layout_below="@id/editTextWeight"
android:layout_marginTop="16dp"

android:hint="Enter Height (m)"

android:textColorHint="#F9F6EE"

android:inputType="numberDecimal"

android:textColor="#F9F6EE"/>

<Button

android:id="@+id/btnCalculate"

android:layout_width="match_parent"

android:layout_height="wrap_content"

android:layout_below="@id/editTextHeight"

android:layout_marginTop="16dp"

android:text="Calculate BMI"/>

<TextView

android:id="@+id/textViewResult"

android:layout_width="match_parent"

android:layout_height="wrap_content"

android:layout_below="@id/btnCalculate"

android:layout_marginTop="16dp"

android:text="BMI: "

android:textStyle="bold"

android:textColor="#F9F6EE"/>

<TextView

android:id="@+id/textViewBMIChart"

android:layout_width="match_parent"

android:layout_height="wrap_content"

android:layout_below="@id/textViewResult"
android:layout_marginTop="16dp"

android:text="@string/bmi_chart"

android:textColor="#F9F6EE"/>

</RelativeLayout>

Outputs of the code:

8.0)Skill developed/Learning outcome


In the complete duration of the micro project, each member of the team member has learned:
 What is Mobile Appliction Development .
 How to perform and make the code using the methods and functions . And creating the apk.
 We tried to solve the errors.
 Learn more about Mobile Application Development code and implementing it .

9.0)Applications
Personal Health Tracking: Individuals can use the BMI calculator to monitor their weight and assess their overall health status.
By regularly inputting their weight and height into the application, they can track changes in their BMI over time and make
informed decisions about their diet, exercise, and lifestyle habits.

Fitness and Weight Loss Programs: Fitness enthusiasts and individuals participating in weight loss programs can use the BMI
calculator to set realistic goals and track their progress. The application can help them determine their current BMI, target BMI,
and the amount of weight they need to lose or gain to reach their desired level of fitness.

Medical Assessments: Healthcare professionals can use the BMI calculator as a screening tool during routine medical check-ups.
It can assist doctors and nurses in quickly evaluating a patient's weight status and identifying potential health risks associated
with being underweight, overweight, or obese.

Nutritional Counseling: Registered dietitians and nutritionists can utilize the BMI calculator to provide personalized dietary
recommendations to clients. By assessing their clients' BMI, nutrition professionals can tailor meal plans and lifestyle
interventions to support healthy weight management and improve overall well-being.

Public Health Initiatives: Public health organizations and government agencies can incorporate the BMI calculator into health
promotion campaigns aimed at raising awareness about obesity and its associated health risks. By encouraging individuals to
monitor their BMI and adopt healthier behaviors, these initiatives can contribute to reducing the prevalence of obesity and
related chronic diseases in the population.

Educational Tools: Schools, colleges, and fitness centers can integrate the BMI calculator into educational programs and
workshops focused on nutrition, physical activity, and healthy living. It can serve as a practical tool for teaching students and
participants about the importance of maintaining a healthy weight and lifestyle.

Names of Team members with Roll Nos


Name Roll no
Vishesh Tiwari 46
Reena Dubey 47
Aashir Khan 48

Mr.Ajay Chawada
(Lecturer)

You might also like