BiteShare: Development of a Food Consumption Tracking Application
VerifiedAdded on 2023/06/10
|9
|1368
|60
Project
AI Summary
The assignment presents the development of BiteShare, an Android-based food consumption tracking application. The application utilizes SQLite for local data storage and RecyclerView for displaying food logs. It is built using Flutter for cross-platform compatibility and incorporates features such as user login, food logging with nutritional information, and social sharing capabilities. The architecture includes key components such as SQLite database, RecyclerView for list representation, optimized graphics, and navigation bar. The application is designed to run on API level 21 or higher and uses the latest versions of SQLite and Flutter. The project includes use case diagrams, class diagrams, and references to relevant literature on Android development, SQLite integration, and food tracking methodologies. The core functionality revolves around enabling users to easily log their meals, track their diets, and share their food logs with others. The application aims to promote healthy eating habits by providing an accessible and user-friendly platform for monitoring food consumption.

BiteShare - Food Consumption Tracking
Application
Introduction
Everybody around the world needs to eat healthily, and having food diary in your pocket is an
extraordinary instrument for doing so — but physically entering your suppers can be a
monotonous and tedious process.
That is the reason we constructed BiteShare, another food diary application composed around the
historical backdrop of nourishment. It influences people what you to eat as simple as writing few
points of interest for the food you eat. With BiteShare, you can log a meal just by entering your
email for identification and you are good to go. Out of the case, the application can perceive
more than 1,300 kinds of food and drink. After some time, it figures out how to perceive the
particular suppers you eat frequently, regardless of whether they're unpredictable or bizarre.
These suppers can be added to your diary with a solitary tap.
As you log meals, BiteShare builds a list of meals in influencing way, each with nutritional facts,
so it’s easy to look back and see which of your meals were healthy and balanced. Food logging is
a standout amongst the best approaches to get thinner and assemble adhering to a good diet
propensities. Monitoring what you eat is a straightforward idea, yet really doing it is difficult.
While building BiteShare, we talked with many individuals who needed to track their eating
regimen yet found the information section process tedious. They couldn't stay with nourishment
logging sufficiently long to accomplish their objectives. We saw a chance to apply ongoing
Application
Introduction
Everybody around the world needs to eat healthily, and having food diary in your pocket is an
extraordinary instrument for doing so — but physically entering your suppers can be a
monotonous and tedious process.
That is the reason we constructed BiteShare, another food diary application composed around the
historical backdrop of nourishment. It influences people what you to eat as simple as writing few
points of interest for the food you eat. With BiteShare, you can log a meal just by entering your
email for identification and you are good to go. Out of the case, the application can perceive
more than 1,300 kinds of food and drink. After some time, it figures out how to perceive the
particular suppers you eat frequently, regardless of whether they're unpredictable or bizarre.
These suppers can be added to your diary with a solitary tap.
As you log meals, BiteShare builds a list of meals in influencing way, each with nutritional facts,
so it’s easy to look back and see which of your meals were healthy and balanced. Food logging is
a standout amongst the best approaches to get thinner and assemble adhering to a good diet
propensities. Monitoring what you eat is a straightforward idea, yet really doing it is difficult.
While building BiteShare, we talked with many individuals who needed to track their eating
regimen yet found the information section process tedious. They couldn't stay with nourishment
logging sufficiently long to accomplish their objectives. We saw a chance to apply ongoing
Paraphrase This Document
Need a fresh take? Get an instant paraphrase of this document with our AI Paraphraser

advances to streamline the sustenance logging procedure and make it all the more captivating.
We would like to enable more individuals to pick up the information they have to eat a solid and
adjusted eating regime. The most important feature is sharing your food log with anyone around
the world on social platform. It not only helps you to maintain proper diet but also with sharing
your food log history to other motivates other and provide valuable information to the people
around the world.
Architecture of Application
Sqlite - It is utilized today by a few far-reaching programs, working frameworks, and inserted
frameworks, among others. SQLite has numerous ties to programming dialects,hence It is
apparently the most broadly sent database engine. SQLite is a famous decision as an implanted
database for local/customer storage in application programming, for example, internet browsers.
In BiteShare, we used to store all the information stored in the layout in the form of diet
consumed by the user. It is very much respected, being:
1. Open source
2. Standards-consistent
3. Lightweight
4. Single-level
We would like to enable more individuals to pick up the information they have to eat a solid and
adjusted eating regime. The most important feature is sharing your food log with anyone around
the world on social platform. It not only helps you to maintain proper diet but also with sharing
your food log history to other motivates other and provide valuable information to the people
around the world.
Architecture of Application
Sqlite - It is utilized today by a few far-reaching programs, working frameworks, and inserted
frameworks, among others. SQLite has numerous ties to programming dialects,hence It is
apparently the most broadly sent database engine. SQLite is a famous decision as an implanted
database for local/customer storage in application programming, for example, internet browsers.
In BiteShare, we used to store all the information stored in the layout in the form of diet
consumed by the user. It is very much respected, being:
1. Open source
2. Standards-consistent
3. Lightweight
4. Single-level

RecyclerView - With greater adaptability to tweaks and enhanced to work with bigger datasets,
RecyclerView resembles customary ListView gadget. It is a holder for rendering bigger
informational index of perspectives that can be reused and looked over effectively.
RecyclerView is the adaptable and productive form of ListView. In biteShare, the food log will
represented to the user in the form of recycler view.
Optimized Graphics – Android provides both 2D and 3D graphic libraries based on OpenGL-
ES.
Browsers - Google settled on a decision on WebKit as the open source internet browser. They
included a two-pass format and casing smoothing. Two pass design stacks a page without sitting
tight to block components, for example, outside CSS or Javascript.
Navigation Bar - A Navigation bar (or route framework) is a segment of a graphical UI and are
actualized in record programs, internet browsers and as a plan component of some sites as
proposed to help guests in getting to data.
Flutter - Flutter is Google's versatile application SDK for making excellent local interfaces on
iOS and Android in record time. Flutter works with existing code, is utilized by engineers and
associations around the globe, and is a free and open source.
Some key features are –
1. Rapid Development - Utilize a rich arrangement of completely adaptable gadgets to
fabricate local interfaces in minutes.
2. Flexible UI - Rapidly transport highlights with an emphasis on local end-client
encounters. Layered engineering permits full customization, which brings about
extraordinarily quick rendering and expressive and adaptable plans.
RecyclerView resembles customary ListView gadget. It is a holder for rendering bigger
informational index of perspectives that can be reused and looked over effectively.
RecyclerView is the adaptable and productive form of ListView. In biteShare, the food log will
represented to the user in the form of recycler view.
Optimized Graphics – Android provides both 2D and 3D graphic libraries based on OpenGL-
ES.
Browsers - Google settled on a decision on WebKit as the open source internet browser. They
included a two-pass format and casing smoothing. Two pass design stacks a page without sitting
tight to block components, for example, outside CSS or Javascript.
Navigation Bar - A Navigation bar (or route framework) is a segment of a graphical UI and are
actualized in record programs, internet browsers and as a plan component of some sites as
proposed to help guests in getting to data.
Flutter - Flutter is Google's versatile application SDK for making excellent local interfaces on
iOS and Android in record time. Flutter works with existing code, is utilized by engineers and
associations around the globe, and is a free and open source.
Some key features are –
1. Rapid Development - Utilize a rich arrangement of completely adaptable gadgets to
fabricate local interfaces in minutes.
2. Flexible UI - Rapidly transport highlights with an emphasis on local end-client
encounters. Layered engineering permits full customization, which brings about
extraordinarily quick rendering and expressive and adaptable plans.
⊘ This is a preview!⊘
Do you want full access?
Subscribe today to unlock all pages.

Trusted by 1+ million students worldwide

3. Performance - Flutter's gadgets join all basic stage contrasts, for example, looking over,
route, symbols and text styles to give full local execution on the two iOS and Android.
Device Compatibility Requirement
API Level 21 or Higher – BiteShare application can only be able to run on API level 21 or
higher since most of the dependencies used are compatible with this API.
SQLite Version – Application uses latest version of SQLite i.e. Sqlite version(3.24.0)
Flutter Beta 3 – To make application attractive latest version of Flutter has been used to
enhance the user interaction.
Case Diagram & Class Diagram
BiteShare is an application which uses the concept of database storage and retrieval. After
following the steps to the login credentials, user in logged in. The first activity allows the user to
enter the proper diet. It includes two buttons – Save and cancel. Once the user hits the save
button all the information get stored in the database and user is redirected to activity of recycler
view where all the information of diet will show up in the form of list.
When you click on the list, or tap on the particular item of the list, BiteShare allows you to share
the information to any social platform such as dropbox,facebook, gmail and others.
Below is the case diagram of the following illustration –
route, symbols and text styles to give full local execution on the two iOS and Android.
Device Compatibility Requirement
API Level 21 or Higher – BiteShare application can only be able to run on API level 21 or
higher since most of the dependencies used are compatible with this API.
SQLite Version – Application uses latest version of SQLite i.e. Sqlite version(3.24.0)
Flutter Beta 3 – To make application attractive latest version of Flutter has been used to
enhance the user interaction.
Case Diagram & Class Diagram
BiteShare is an application which uses the concept of database storage and retrieval. After
following the steps to the login credentials, user in logged in. The first activity allows the user to
enter the proper diet. It includes two buttons – Save and cancel. Once the user hits the save
button all the information get stored in the database and user is redirected to activity of recycler
view where all the information of diet will show up in the form of list.
When you click on the list, or tap on the particular item of the list, BiteShare allows you to share
the information to any social platform such as dropbox,facebook, gmail and others.
Below is the case diagram of the following illustration –
Paraphrase This Document
Need a fresh take? Get an instant paraphrase of this document with our AI Paraphraser

Class Diagram
BiteShare includes several java classes. To understand the logic behind the workflow, look at the
diagram briefly. Register.java save the information of user as login credentials which is traced
down from the databasehelperclass.java when user try to login into the application. Home.java is
the main activity of the application where user saves what they have eaten. It is linked to
databasehelperclass.java class which saves the information of diet in the database. ListFood.java
is a class which populate the list of diet in listview with the help of databasehelperclass.java
class. ListFood.java also allows you to share information to various different social platform.
BiteShare includes several java classes. To understand the logic behind the workflow, look at the
diagram briefly. Register.java save the information of user as login credentials which is traced
down from the databasehelperclass.java when user try to login into the application. Home.java is
the main activity of the application where user saves what they have eaten. It is linked to
databasehelperclass.java class which saves the information of diet in the database. ListFood.java
is a class which populate the list of diet in listview with the help of databasehelperclass.java
class. ListFood.java also allows you to share information to various different social platform.

⊘ This is a preview!⊘
Do you want full access?
Subscribe today to unlock all pages.

Trusted by 1+ million students worldwide

User Interaction
Login/SignUp Screen – Layout is handled using Flutter. It allows vast opportunites to customize
layout. It contain two and three text field for login and signup activity respectively.
Login/SignUp Screen – Layout is handled using Flutter. It allows vast opportunites to customize
layout. It contain two and three text field for login and signup activity respectively.
Paraphrase This Document
Need a fresh take? Get an instant paraphrase of this document with our AI Paraphraser

Home Screen – Home is the first screen seen by user after login and allow to enter few detail of
diet. It contains four texfield for food, date, place and optional food.
List – User will able to see diet chart on this activity which is populated by the recycler view. To
be more comprehensive in user interaction, several other measure have taken like padding,
custom layout and other feature to attract user.
diet. It contains four texfield for food, date, place and optional food.
List – User will able to see diet chart on this activity which is populated by the recycler view. To
be more comprehensive in user interaction, several other measure have taken like padding,
custom layout and other feature to attract user.

References
Feiler, J. (2015). Using SQLite with Android/Java. Introducing SQLite for Mobile
Developers, 55-60. doi:10.1007/978-1-4842-1766-5_7
Jackson, W. (2015). Android Virtual Devices: Setting Up Wearables Application Emulators. Pro
Android Wearables,97-116. doi:10.1007/978-1-4302-6551-1_5
Crawford, L. (1990). Environmental food hygiene and food safety. Food Control, 1(1), 5.
doi:10.1016/0956-7135(90)90106-m
Pizzuti, T., Mirabelli, G., Sanz-Bobi, M. A., & Goméz-Gonzaléz, F. (2014). Food Track & Trace
ontology for helping the food traceability control. Journal of Food Engineering, 120, 17-30.
doi:10.1016/j.jfoodeng.2013.07.017
Layouts with Android Studio. (2017). Expert Android® Studio, 115-141.
doi:10.1002/9781119419310.ch5
Feiler, J. (2015). Using SQLite with Android/Java. Introducing SQLite for Mobile
Developers, 55-60. doi:10.1007/978-1-4842-1766-5_7
Jackson, W. (2015). Android Virtual Devices: Setting Up Wearables Application Emulators. Pro
Android Wearables,97-116. doi:10.1007/978-1-4302-6551-1_5
Crawford, L. (1990). Environmental food hygiene and food safety. Food Control, 1(1), 5.
doi:10.1016/0956-7135(90)90106-m
Pizzuti, T., Mirabelli, G., Sanz-Bobi, M. A., & Goméz-Gonzaléz, F. (2014). Food Track & Trace
ontology for helping the food traceability control. Journal of Food Engineering, 120, 17-30.
doi:10.1016/j.jfoodeng.2013.07.017
Layouts with Android Studio. (2017). Expert Android® Studio, 115-141.
doi:10.1002/9781119419310.ch5
⊘ This is a preview!⊘
Do you want full access?
Subscribe today to unlock all pages.

Trusted by 1+ million students worldwide
1 out of 9

Your All-in-One AI-Powered Toolkit for Academic Success.
+13062052269
info@desklib.com
Available 24*7 on WhatsApp / Email
Unlock your academic potential
Copyright © 2020–2025 A2Z Services. All Rights Reserved. Developed and managed by ZUCOL.