Food Donation Aplication MAD
Food Donation Aplication MAD
ADICHUNCHANAGIRI UNIVERSITY
BG Nagara -571448, KARNATAKA.
Bachelor of Engineering
In
Information Science and Engineering
Submitted by,
NAMRATHA M K 20ISE029
NISARGA K M 20ISE031
ADICHUNCHANAGIRI UNIVERSITY
B G S INSTITUTE OF TECHNOLOGY
BG Nagara-571448, MANDYA
CERTIFICATE
This is to certify that the mini project entitled “FOOD DONATION
APPLICATION ” is a bonafide work carried by Ms, NAMRATHA M K, bearing
USN: 20ISE029, and Ms. NISARGA K M, bearing USN: 20ISE031 the students of
B G S INSTITUTE OF TECHNOLOGY, B G Nagara in partial fulfillment of
Bachelor of Engineering in Information Science and Engineering, of
Adichunchanagiri University, BG Nagara during the academic year 2022 - 2023. It is
certified that all correction / suggestions indicated for internal assessment have been
incorporated in the report deposited in the department library.
External Viva
Name of the Examiners Signature with Date
1.
2.
ACKNOWLEDGEMENT
While presenting this Mobile Application Development Mini Project on “Food
Donation application ”, We feel that it is our duty to acknowledge the help rendered to us by
various person.
Firstly, we thank God for Showering blessing on us. We are greatful to our institution
BGS Institute of Technology for providing us a congenial atmosphere to carry out the project
successfully.
We would like to express our heartfelt gratitude to Dr. B K Narendra, Principal BGS
Institute of Technology for extending his support.
We would also like to express our heartfelt gratitude to Dr. Siddartha B K, Associate
Prof, & HOD Department of Information Science and Engineering whose guidance and support
was truly invaluable.
We are very greatful to our guide, Mr. Kiran Kumar D, Asst. Prof, Department of
Information Science, for his able guidance and valuable advice at every stage of project which
helped us in successful completion of our project.
We would also have indebted to our Parents and Friends for their continued moral and
material support throughout the project and helping us in finalize the presentation.
We heartly thanks to all those have contributed bits, bytes and words to accomplish the
Project.
NAMRATHA M K (201SE029)
NISARGA K M (201SE031)
i
ABSTRACT
In this report, we present a first aid android app that gives assistance to any person suffering a
sudden illness and injury in emergency case. This app provides simple step by step instructions for
guide user through everyday first aid scenario. Next, first aid apps provide user the videos and
animation for easy learning. The user can call 999 the emergency number for the app at any time.
Once the user downloads this android app from the Google Play Store then they can use this app
without using internet connection. Preloaded content means the users have instant access to all
safety information at any time even without reception or an Internet connection as offline mode.
Then, this app provides the interactive quizzes that allow the user to earn rank that they can share
with their friends and show off their lifesaving knowledge In emergency case, the user will use what
type of illness or injury that happen then simple step by step instructions, animation and videos will
provide for each scenario. The user can call 999 the emergency number if illness or injury is more
critical and need ambulance. The user can use the step as safety tips and treatment for minor
conditions while wait for ambulance arrive at the place. There are many situations that require first
aid app and it can be used by untrained person.
ii
CONTENTS
Title Page No
ACKNOWLEDGEMENT i
ABSTRACT ii
CONTENTS iii
LIST OF FIGURES iv
CHAPTER 1 INTRODUCTION 1
1.1 Purpose 2
1.2 Problem Statement 2-3
1.3 Scope 3
1.4 Objectives 4
CHAPTER 2 REQUIREMENTS SPECIFICATION 5
2.1 Hardware Requirements 5
2.2 Software Requirement 5
2.2.1 JAVA 5-6
2.2.2 XML 6
2.2.3 Android Studio 6
2.2.4 Android SDK Platform 7
CHAPTER 3 SYSTEM DESIGN 8
3.1 Proposed System 8
3.2 Advantages 8
3.3 Architecture Diagram 9
CHAPTER 4 IMPLEMENTATION 10
4.1 Code 10-15
CHAPTER 5 SNAPSHOTS 16-23
CONCLUSION AND FUTURE ENHANCEMENT 24
REFERENCES 25
iii
LIST OF FIGURES
Figure No Figure Name Page No
3.3 Architecture Diagram of First Aid Application 9
4.1 Home page 16
4.2 Home Page 17
4.3 contents of First aid kit 18
4.4 Steps for Treating Fever 19
4.5 Steps for Treating Skin Burns 20
4.6 Steps for Treating cuts and scrapes 21
4.7 Steps to be taken in case of a heart stroke 22
4.8 Steps to be taken in case of food poisoning 23
iv
First Aid Application 2022-2023
CHAPTER-1
INTRODUCTION
At present, there are lots of problems more specifically when it comes to health particularly when
provisioning initial care for an injured person. First aid can be defined as emergency care or treatment to
any person suffering a sudden illness or injury. First aid is important thing to give instruction to the user in
order to ease the pain, to maintain life, to promote recovery and to prevent patient condition from being
worst until professional medical help can be obtained. Having knowledge about first aid is essential in
order to respond to emergency cases. There are many situations which are require first aid and many
countries have regulations which it specifies a minimum level of first aid provision in certain
circumstances. This can include specific training or equipment to be available in the workplace, the
provision of specialist first aid cover at public gatherings and mandatory first aid training within schools.
However, first aid does not necessarily require any particular equipment or prior knowledge. It can involve
improvisation with materials available at the time and often by untrained persons.
“First Aid Application” allows user to provide first aid during emergency. The mobile application will
provide the step-by-step process in doing the first aid for the specific injury or illness. Lots of people are
threatened to give first aid to a victim most especially if they don’t have background of knowledge in it.
First aid is a treatment to an injured person up to seeking medical attention. It should give support to the
victim and generally consist of a series of a simple and in some cases, potentially live saving techniques
that an individual can be trained to perform with minimal equipment. This aims to develop an Application
for learning, training and educate users on how are the proper procedures and techniques in giving medical
assistance to the person harmed. This will help users for broadening their knowledge and to train them in
potentially lifesaving techniques which can be perform with minimal equipment. It triggers the awareness
of the users and boosts their spiritual awareness by giving the right of information.
1.1 Purpose
The purpose of this project is to design and develop an informative app that will provide you a skill
and knowledge required to provide first aid response, life support management of casualty(s), the
incident and other first aiders until emergency qualified help arrives at the scene of the incident.
This would be a very big help mostly who triggers awareness in giving amount of information
regarding this issue and for everyone to have expertise in first aid case emergency happens.
valuable skills we can ever have. However, not all of us would endeavor to have first aid
certification and most would probably think that they don’t need to be certified. After all,
common situations like a child falling down would just entail a mother cleaning up the
wound and applying a plaster to the wound. But these are just the very basic first aid
techniques that everyone knows how to do.
To test the user knowledge first aid by provide test for some situation in the application. At
this point, it makes sense for everyone to learn first aid skills and require having this
knowledge so we can help each other. All we need to do is take advantage of them
1.3 Scope
Project scope can be defined as what is needed to be completed in a project to deliver a
product, service and the result. In this particular project, project mainly focused on the
first aid instruction that is including the diagnosis, treatment and disposal. For diagnosis,
the user must first know how the accident or sudden injury has occurred. This can be got
from the victim if he can tell or from witnesses. We called it as the history of the
circumstance. The next step is the user need to see the symptoms such as faintness, thirst,
pain or shivering. Then, the user looks at the signs which are differences from normal
conditions. These may include swelling, congestion, paleness or deformity, which can be
very easily observed by the first aider. Signs are the most reliable indications on
which diagnosis can be based. For treatment, the reason of the condition should be
immediately removed with a view to avoid the condition from becoming worse. Special
attention should be paid to cases of unconsciousness, shock, severe bleeding, and failure
of breathing. For quick disposal, the victim should either be examined by the doctor on the
spot. If that is not possible then he should be immediately taken to his home or to a
hospital according to conditions. The members of the victim's family or his relatives
should be informed at once.
1.4 Objective
Everybody should know how to manage first aid because it is one of the most valuable skills we can
ever have. However, not all of us would endeavor to have first aid certification and most would
probably think that they don’t need to be certified. After all, common situations like a child falling
down would just entail a mother cleaning up the wound and applying a plaster to the wound. But
these are just the very basic first aid techniques that everyone knows how to do.
To develop an application that giving first aid knowledge to the user by using this application.
To provide global positioning system (GPS) to the nearest hospital.
To test the user knowledge first aid by provide test for some situation in the application. At this
point, it makes sense for everyone to learn first aid skills and require having this knowledge so we
can help each other. All we need to do is take advantage of them.
CHAPTER-2
The Hardware requirements are very minimal and the program can be run on most of the
machines.
2.2Software Requirements
• Language -Java,XML
2.2.1 JAVA
Java is a powerful and versatile object-oriented programming language that was created to be
platform-independent, secure, and easy to use. Developed by James Gosling and his team in the mid-
1990s, Java quickly gained popularity and became one of the most widely used programming languages
globally. One of its significant advantages is its "Write Once, Run Anywhere" (WORA) capability,
allowing Java programs to be compiled into platform-independent bytecode, which can run on any
system equipped with a Java Virtual Machine (JVM). Java follows the principles of object-oriented
programming (OOP), providing features like encapsulation, abstraction, polymorphism, and inheritance,
making it easier to build modular and maintainable code. Its robustness, automatic memory management
(garbage collection), and strict typing ensure a higher level of security and stability in applications.
Java's vast standard library and thriving developer community offer a wealth of resources, frameworks,
and tools,
Dept. of ISE, BGSIT Page 5
First Aid Application 2022-2023
making it suitable for a wide range of applications, including web development, enterprise systems,
Android app development, big data processing, IoT applications, and more. Java's enduring popularity is
a testament to its flexibility, portability, and reliability in the ever-evolving field of software
development.
2.2.2 XML
XML, which stands for Extensible Markup Language, is a versatile and widely used markup
language designed to store and transport structured data. Introduced in the late 1990s, XML is a text-
based format that uses tags to define and describe elements within a document, allowing for the
organization and representation of data in a hierarchical manner. Each element is enclosed within
opening and closing tags, and attributes can be associated with elements to provide additional
information. XML is considered "extensible" because developers can define their own custom tags and
structures to suit specific data needs, making it adaptable to various domains and applications.
One of the significant advantages of XML is its human-readable and self-descriptive nature,
which makes it easy for both developers and machines to understand and process the data. However,
because XML documents can become verbose due to the inclusion of tags and attributes, alternative
formats like JSON have gained popularity in cases where data size and performance are critical
considerations. Nonetheless, XML remains a reliable and widely adopted technology for structured data
representation, particularly in scenarios where flexibility and interoperability are paramount.
The Android SDK (Software Development Kit) framework is a comprehensive and essential
toolset provided by Google for building Android applications. It offers a complete set of development
tools, libraries, and APIs that enable developers to create high-quality and feature-rich Android apps. The
Android SDK is platform-specific and tailored to support the unique requirements of the Android
operating system, ensuring seamless integration and optimal performance on Android devices.
The Android SDK includes various components, with the most prominent being the Android
Studio IDE (Integrated Development Environment), which provides a user-friendly interface for coding,
testing, and debugging Android applications. Android Studio is equipped with intelligent code
completion, syntax highlighting, and built-in support for version control systems like Git.
Moreover, the Android SDK framework offers a variety of libraries and APIs that simplify
common tasks such as UI design, database management, networking, and accessing hardware features
like camera, GPS, and sensors. It also includes the Android Emulator, allowing developers to test their
apps on virtual Android devices with different screen sizes, resolutions, and Android versions.
The Android SDK framework is continually updated by Google to stay in sync with the latest
Android versions and features, ensuring that developers can take advantage of the most recent
enhancements and capabilities. With extensive documentation and an active developer community, the
Android SDK framework empowers developers to create a diverse range of applications, from simple
utilities to sophisticated and innovative mobile experiences. It remains a crucial pillar in the ever-
evolving Android app development ecosystem, making it possible for developers to bring their creative
ideas to life and cater to the vast and diverse Android user base.
CHAPTER-3
SYSTEM DESIGN
3.1 Proposed System
The purpose of this project is to design and develop an informative app that will provide you a skill and
knowledge required to provide first aid response, life support management of casualty(s), the incident
and other first aiders until emergency qualified help arrives at the scene of the incident. This
would be a very big help mostly who triggers awareness in giving amount of information
regarding this issue and for everyone to have expertise in first aid case emergency happens.
3.2 Advantages
This aims to develop an Application for learning, training and educate users on how are the proper procedures and
techniques in giving medical assistance to the person harmed. This will help users for broadening their knowledge
and to train them in potentially lifesaving techniques which can be perform with minimal equipment. It triggers the
awareness of the users and boosts their spiritual awareness by giving the right of information. Furthermore, the study
could be of the importance to the following: Users: By the use of this Application, users can educate themselves
which is mainly focus on first aid treatment. Future Researchers: The ideas may be presented to the used as
reference data in conducting new researches o in testing the validity of other related findings. These studies will also
serve as their cross-reference that will give them background or man overview of giving medical assistance and use
it as their guide. It will also help students taking computer related courses to identify the best programming language
to use. The study can also open on development of this study.
CHAPTER-4
IMPLEMENTATION
The implementation phase is where all the plans which ongoing at the planning phase until the design were
put into motion. Implementation stage is the process where author start to develop the project by writing
coding for that particular application. This process determines what type of software used to write the
coding and I decided to use android studio as my platform for doing this project. Then, these flows include
how to transform a sketch of Graphical User Interface (GUI) into a real GUI and so on. During this stage,
the prototype should be completed 100% and has been testing in different stages. As a result from the
testing, the author needs to make a complete application of the prototype before launch it. This program
has been developed and implemented using Android Studio. The application includes home screen and
there are several different options to select based on the emergency faced by the patient. When you open
the app the home screen is the first page that you will be welcomed with. The Home screen page contains
all the content available in the app along with the app name. Each particular dropdown menu contents have
information stored in them which can be accessed by clicking on the particular heading. it will reflect you
to the Home Screen page. This is the home page of the app where all the contents are stored. The contents
can even be searched from this page. You must click the on the button on the app If you want to view the
content completely. The list of steps to be followed in a medical emergency will appear on the page,
clicking them will reflect you to a new page where you can view a particular note. In between the list view
and app bar, there is a text field that functions as the search bar. The search bar filters the notes using their
header name using the display adapter which extends the filterable property.
4.1 Code
Java Code
package com.example.user.first_aid;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.widget.ImageView;
import android.widget.TextView;
@Override
imageView = findViewById(R.id.imageViewId);
textView = findViewById(R.id.textViewId);
if(topicName.equals("Fever")){
imageView.setImageResource(R.drawable.fever_im);
textView.setText(R.string.First_Aid_for_Fever);
}
if(topicName.equals("Burns")){
imageView.setImageResource(R.drawable.burn_hand);
textView.setText(R.string.Minor_Burns);
}
if(topicName.equals("Splinters")){
imageView.setImageResource(R.drawable.splinters_im);
textView.setText(R.string.Splinters);
}
if(topicName.equals("Sprains")){
imageView.setImageResource(R.drawable.sprains_strains_im);
textView.setText(R.string.Sprains_and_Strains);
}
if(topicName.equals("Nosebleeds")){
imageView.setImageResource(R.drawable.bleedsnose);
textView.setText(R.string.Nosebleeds);
}
if(topicName.equals("Cuts")){
imageView.setImageResource(R.drawable.cuts_scrapes_children_first_aid);
textView.setText(R.string.Cuts_and_Scrapes);
}
if(topicName.equals("Bites")){
imageView.setImageResource(R.drawable.insect_stings);
textView.setText(R.string.Animal_Bites_and_Insect_Stings);
}
if(topicName.equals("Poisoning")){
imageView.setImageResource(R.drawable.food_poisoning);
textView.setText(R.string.Food_Poisoning_Treatment);
}
if(topicName.equals("Stroke")){
imageView.setImageResource(R.drawable.stroke_im);
textView.setText(R.string.First_Aid_for_Stroke);
}
if(topicName.equals("First")){
imageView.setImageResource(R.drawable.kits_first);
textView.setText(R.string.What_should_be_in_my_first_aid_kit);
}
if(topicName.equals("About")){
imageView.setImageResource(R.drawable.about__us);
textView.setText(R.string.aboutUs);
}
}
Main Activity
package com.example.user.first_aid;
import android.content.Intent;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);
fever = findViewById(R.id.feverId);
burns = findViewById(R.id.burnsId);
splinters = findViewById(R.id.splintersId);
sprains = findViewById(R.id.sprainsId);
nosebleeds = findViewById(R.id.nosebleedsId);
cuts = findViewById(R.id.cutsId);
bites = findViewById(R.id.bitesId);
poison = findViewById(R.id.foodPoisonId);
stroke = findViewById(R.id.strokeId);
kit = findViewById(R.id.firstAidKitId);
fever.setOnClickListener(this);
burns.setOnClickListener(this);
splinters.setOnClickListener(this);
sprains.setOnClickListener(this);
nosebleeds.setOnClickListener(this);
cuts.setOnClickListener(this);
bites.setOnClickListener(this);
poison.setOnClickListener(this);
stroke.setOnClickListener(this);
kit.setOnClickListener(this);
@Override
public void onClick(View v) {
if(v.getId()== R.id.feverId){
}
if(v.getId()== R.id.burnsId){
}
Dept. of ISE, BGSIT Page 14
First Aid Application 2022-2023
if(v.getId()== R.id.splintersId){
}
if(v.getId()== R.id.sprainsId){
}
if(v.getId()== R.id.nosebleedsId){
}
if(v.getId()== R.id.cutsId){
}
if(v.getId()== R.id.bitesId){
}
if(v.getId()== R.id.foodPoisonId){
}
if(v.getId()== R.id.strokeId){
}
if(v.getId()== R.id.firstAidKitId){
}
}
CHAPTER-5
SNAPSHOTS
As the figure above, the user can user what action that they want to take. If the user is in the
emergency case then they need to click on the related query and follow the steps given there to
give assistance until proper treatment is provided
List of things that must be in any First Aid kit are mentioned here they include Adhesive
tape, Alcohol wipes, Medicine, ointment, bandages, cold packs, gauze rolls and pads.
The user needs to follow the provided easy step to step instruction in case of emergency.
Learn more will describe more about the step and describe certain scientific phrase that user
did not understand. That will make easy for the user in emergency circumstance because
time lost is equal to life lost.
Learn more about Skin Burns it will describe more in detail for each step need to be taken
and the user can get everything at a single place.
The user needs to follow the provided easy step to step instruction in case of minor cuts and
scrapes,when the cut is deep it is advisable to visit the doctor after the first aid procedure is
performed.
These are the essential procedures to be conducted if somebody has a heart stroke it is better
in such cases to perform CPR if there is difficulty in breathing or there are no pulses.
All the Information related to food poisoning will be displayed along with
the reasons for food poisoning and remedies for it.
To conclude the First Aid App can be effective in cases of Emergency and can
even save a life since the information provided is properly researched and until
proper Hospital Treatment is provided this initial treatment can make a difference.
In future several other features could be added like Learn more Button for the user
to learn first aid by simplifying complex medical terms. Next, we could add a quiz
for the user to answer the quiz that provided and the purpose is for test the
knowledge of the user for the situation given Then,button ‘find hospital’ is for the
user to find the nearest hospital from the place that user search.
REFERENCES
Textbooks:
1. Google Developer Training, "Android Developer Fundamentals Course –
Concept Reference”,Google Developer Training
Team , 2017.
https://www.gitbook.com/book/google-developer- training/android-
developer- fundamentals course-concepts/details
Reference Books:
Websites
www.Data-Flair.Training.com
www.Github.com
www.wikipedia.com
www.Youtube.com