Mini Project1
Mini Project1
Submitted by
AGNIRAJGOPAL.S (512720104001)
JAGADEESAN. C (512720104008)
PRASANTH. P (512720104020)
of
BACHELOR OF ENGINEERING
in
ARNI.
JUNE 2023
1
BONAFIDE CERTIFICATE
SIGNATURE SIGNATURE
Dept of Computer Science & Engg, Dept of Computer Science & Engg,
II
ACKNOWLEDGEMENT
The project report is the work accomplished under the esteemed and
scholarly guidance of Mr. R. Sandhya, M.E., Assistance Professor of Computer
Science and Engineering.
III
ABSTRACT
food waste and hunger by connecting food donors with organizations that serve
about surplus food they have available, including the type of food, quantity, and
expiration date. Organizations that serve food to those in need can then browse the
available listings and request donations that meet their specific needs. The
application also includes features for scheduling pick-ups, tracking donations, and
donation process, this application aims to reduce food waste and help provide food
donate excess food and ensure its redistribution to those who are food insecure.
grocery stores, and individuals can create listings describing the type, quantity, and
IV
TABLE OF CONTENTS
CHAPTER
NO TITLE PAGE NO
ABSTRACT IV
1 INTRODUCTION 01
2 SYSTEM REQUIREMENT 04
3 SYSTEM DESIGN 06
3.1 INTRODUCTION 07
3.7 ER DIAGRAM 14
V
4 SYSTEM IMPLEMENTATION 15
4.1 INTRODUCTION 16
5 LITERATURE SURVEY 18
6 TESTING 21
6.1 INTRODUCTION 22
ENHANCEMENTS 27
REFERENCES 29
APPENDICES 30
APPENDIX 2 SCREENSHOTS 75
VI
LIST OF FIGURES
3.7 ER DIAGRAM 14
VII
LIST OF ABBREVIATIONS
VIII
CHAPTER 1
INTRODUCTION
1 INTRODUCTION
Food waste and food insecurity are pressing global issues. While food
waste occurs at every stage of the supply chain, from production to consumption,
one of the most significant sources of food waste is household-level waste. At the
same time, food insecurity affects millions of people worldwide, including in
developed countries. In response to these challenges, a food donation Android
application has been designed to connect food donors with organizations that
serve food-insecure individuals.
1.4 DRAWBACKS
While this system has helped provide food security to millions of people, it
has some significant disadvantages, including:
• Transportation: Donors must have the means to transport food to
the designated location, which can be challenging for individuals
who lack access to a vehicle or who live far from the drop-off
location.
CHAPTER 2
SYSTEM REQUIREMENTS
2.1 HARDWARE REQUIREMENTS:
Database: SQLite
CHAPTER 3
SYSTEM DESIGN
3.1 INTRODUCTION
Query 0.0
Food Donation
User Database
Management
DB
4.1 INTRODUCTION
The Food donation application aims to bridge the gap between surplus food
providers and individuals or organizations in need. It provides a platform where
food donors can easily connect with recipients, ensuring that excess food is not
wasted and instead reaches those who can benefit from it. This document
outlines the system implementation plan for Food Donation Application.
CHAPTER 5
LITERATURE SURVEY
1.
YEAR : 2021
2.
TOPIC : Sharing Food with FoodLifeSavr Smartphone App
YEAR : 2022
ABOUT : This research paper aims to mobilize people who overeat and donate
their excess food that can still be consumed to those in need. This smartphone
application is equipped with activities such as registering for new donors who want
to join the mobile application and logging in for donors who are already registered
in the mobile application.
3.
TOPIC : Foodernity: A Mobile and Web Application for Food Sharing
AUTHORS : J: John Amiel R. Morilla, Fhillip Carl Bagsic, Mark Kenneth Dela
Cruz, Carl Daniel A. Patio, Emeliza R. Yabut
YEAR : 2021
ABOUT : This paper focuses on creating a mobile and web application called
Foodernity with the goal of easing the burden of needy people who require food to
survive.
4.
TOPIC : A Food Wastage Reduction Mobile Application
YEAR : 2018
ABOUT : Food waste management is crucial since it can improve our
environmental and economic sustainability. We have identified the use of mobile
technology to reduce food waste management and built an android mobile
application that allows restaurants to donate and share their foods and leftovers
with people in need.
CHAPTER 6
TESTING
6.1 INTRODUCTION
Generally testing process is carried out to ensure that a system has been
developed according to the required specification and the expected output is
properly obtain. There are two main categories of testing namely, the white
box testing black box testing. Each of this testing in turn consists of many
types of testing.
Code Coverage: Measure the extent to which the application's source code is
executed during testing. Tools like code coverage analyzers can help identify
areas of the code that have not been tested adequately.
Error Handling and Exception Testing: Test how the application handles
unexpected situations and error conditions. Verify that appropriate error messages
are displayed, and the application gracefully recovers from failures without
crashing or compromising user experience.
Usability Testing: Assess the user interface and overall user experience of the
application. Test the navigation, user flows, and ensure that the application
adheres to Android design guidelines and best practices.
Remember, white box testing requires access to the application's source code and
a good understanding of its implementation. It is typically performed by
developers or testers with programming expertise who can analyze the code and
design to identify potential issues.
CHAPTER 7
CONCLUSION AND FUTURE ENHANCEMENTS
CONCLUSION
In the future, there are several potential enhancements that could be implemented
in a food donation Android application to improve its functionality and impact.
Here are a few ideas:
Enhanced User Experience: Focus on improving the user interface and overall
user experience of the application to make it more intuitive and user-friendly.
Streamline the donation process, making it easier for users to find nearby food
donation centers, schedule pickups, and track their donations.
Remember, these are just suggestions for future enhancements. The specific
features to prioritize would depend on user feedback, market research, and the
goals of the food donation application.
REFERENCES:
1. "Food Donation App" by Shiva Kumar, published on Code Project
(https://www.codeproject.com/articles/1209512/food-donation-app): This
article provides a step-by-step tutorial on how to build a food donation app
for Android using Android Studio
android.content.Context; import
androidx.test.platform.app.InstrumentationRegistry; import
androidx.test.ext.junit.runners.AndroidJUnit4; import
static org.junit.Assert.*;
/**
* Instrumented test, which will execute on an Android device.
*/
@RunWith(AndroidJUnit4.class) public
class ExampleInstrumentedTest {
useAppContext() {
assertEquals("bd.edu.rifat.exam", appContext.getPackageName());
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="bd.edu.rifat.foodDonationApp">
<application android:allowBackup="true"
android:icon="@drawable/food" android:label="@string/app_name"
android:roundIcon="@mipmap/ic_launcher_round"
android:supportsRtl="true" android:theme="@style/Theme.Exam">
<activity
android:name="bd.edu.rifat.foodDonationApp.MainActivity"
android:exported="true">
<intent-filter>
</intent-filter>
</activity> <meta-data
android:name="preloaded_fonts"
android:resource="@array/preloaded_fonts" />
</application>
</manifest>
<resources xmlns:tools="http://schemas.android.com/tools">
<item name="colorPrimary">@color/purple_200</item>
<item name="colorPrimaryVariant">@color/purple_700</item>
<item name="colorOnPrimary">@color/black</item>
<item name="colorSecondary">@color/teal_200</item>
<item name="colorSecondaryVariant">@color/teal_200</item>
<item name="colorOnSecondary">@color/black</item>
</style>
</resources>
COLOURS:
<resources>
<color name="purple_200">#FFBB86FC</color>
<color name="purple_500">#FF6200EE</color>
<color name="purple_700">#FF3700B3</color>
<color name="teal_200">#FF03DAC5</color>
<color name="teal_700">#FF018786</color>
<color name="black">#FF000000</color>
<color name="white">#FFFFFFFF</color>
</resources>
STRINGS:
<resources>
<string name="app_name">FeedZie</string>
<string name="hello_blank_fragment"></string>
</resources>
FONTS:
<resources>
<item>@font/cedarville_cursive</item>
<item>@font/dr_sugiyama</item>
<item>@font/kaushan_script</item>
<item>@font/life_savers_bold</item>
<item>@font/nunito_sans_light</item>
<item>@font/pacifico</item>
<item>@font/ruthie</item>
</array>
</resources>
NAVIGATION:
<navigation 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:id="@+id/nav_grap" app:startDestination="@id/homeFragment">
<fragment android:id="@+id/homeFragment"
android:name="bd.edu.rifat.foodDonationApp.HomeFragment"
android:label="fragment_home"
tools:layout="@layout/fragment_home" >
<action
android:id="@+id/action_homeFragment_to_secondFragment"
app:destination="@id/secondFragment" />
<action
android:id="@+id/action_homeFragment_to_thirdFragment"
app:destination="@id/thirdFragment" />
<action
android:id="@+id/action_homeFragment_to_fourthFragment"
app:destination="@id/fourthFragment" />
<action
android:id="@+id/action_homeFragment_to_sixthFragment"
app:destination="@id/sixthFragment" />
</fragment> <fragment
android:id="@+id/secondFragment"
android:name="bd.edu.rifat.foodDonationApp.SecondFragment"
android:label="fragment_second"
tools:layout="@layout/fragment_second" >
<action
android:id="@+id/action_secondFragment_to_fifthFragment"
app:destination="@id/fifthFragment" />
</fragment> <fragment
android:id="@+id/thirdFragment"
android:name="bd.edu.rifat.foodDonationApp.ThirdFragment"
android:label="fragment_third"
tools:layout="@layout/fragment_third" >
<argument android:name="food"
app:argType="bd.edu.rifat.foodDonationApp.entities.Food"
app:nullable="true" />
</fragment>
<fragment android:id="@+id/fourthFragment"
android:name="bd.edu.rifat.foodDonationApp.FourthFragment"
tools:layout="@layout/fragment_fourth"></fragment> <fragment
android:id="@+id/fifthFragment"
android:name="bd.edu.rifat.foodDonationApp.FifthFragment"
android:label="fragment_fifth"
tools:layout="@layout/fragment_fifth">
<action
android:id="@+id/action_fifthFragment_to_secondFragment"
app:destination="@id/fifthFragment" />
</fragment>
<fragment android:id="@+id/sixthFragment"
APPENDIX 2 : SCREENSHOTS
HOME PAGE:
FOOD DONOR:
RECEIVER PAGE:
APP INSTRUCTION:
CONTACT US:
DONATION SUCCESS: