14
Nutri-Droid “Helping you be healthy and avoid obesity since 2014!” Easy nutrition monitoring on your Android device! Joseph McMahan and JingYu Zhang 麦麦麦 麦麦麦

Nutri-Droid “Helping you be healthy and avoid obesity since 2014!” Easy nutrition monitoring on your Android device! Joseph McMahan and JingYu Zhang 麦折服

Embed Size (px)

Citation preview

Page 1: Nutri-Droid “Helping you be healthy and avoid obesity since 2014!” Easy nutrition monitoring on your Android device! Joseph McMahan and JingYu Zhang 麦折服

Nutri-Droid“Helping you be healthy and avoid obesity since 2014!”

Easy nutrition monitoring on your Android device!

Joseph McMahan and JingYu Zhang

麦折服 张婧予

Page 2: Nutri-Droid “Helping you be healthy and avoid obesity since 2014!” Easy nutrition monitoring on your Android device! Joseph McMahan and JingYu Zhang 麦折服

UI Design

Search what you want to know

Everyday food listed

Enable quick search

What you have today

Calculate exercise time to reduce calories

Page 3: Nutri-Droid “Helping you be healthy and avoid obesity since 2014!” Easy nutrition monitoring on your Android device! Joseph McMahan and JingYu Zhang 麦折服

UI Design Cont.

From Google to our App

Page 4: Nutri-Droid “Helping you be healthy and avoid obesity since 2014!” Easy nutrition monitoring on your Android device! Joseph McMahan and JingYu Zhang 麦折服

UI Design Cont.

Common food Enable quick search

Common Food

Fruits:ApplePeachLemon

Vegetables:LettucePotatoTomato

Nuts:Almond

Page 5: Nutri-Droid “Helping you be healthy and avoid obesity since 2014!” Easy nutrition monitoring on your Android device! Joseph McMahan and JingYu Zhang 麦折服

UI Design Cont.

Search HistoryEnable quick search

Search History

Today:ApplePeachLemon

Yesterday:LettucePotatoTomato

Last week:Almond

Page 6: Nutri-Droid “Helping you be healthy and avoid obesity since 2014!” Easy nutrition monitoring on your Android device! Joseph McMahan and JingYu Zhang 麦折服

UI Design Cont.

Daily NutritionWhat you eat today

Daily Nutrition

Today You Have:Calories: 1200Fat: 23 gSugar: 0 g

CaloriesIntakeRemain

1200

800

Page 7: Nutri-Droid “Helping you be healthy and avoid obesity since 2014!” Easy nutrition monitoring on your Android device! Joseph McMahan and JingYu Zhang 麦折服

UI Design Cont.

ExerciseCalculate time forexercise to lose calories

Exercise

Running:30min 400 calories

Walking:30min 200 calories

Page 8: Nutri-Droid “Helping you be healthy and avoid obesity since 2014!” Easy nutrition monitoring on your Android device! Joseph McMahan and JingYu Zhang 麦折服

Backend

● Use screen-scraping to extract nutrition information from Internet

● Store data locally in custom format for fast offline access

● Store objects in hashtable for easy access to data for display in UI

Page 9: Nutri-Droid “Helping you be healthy and avoid obesity since 2014!” Easy nutrition monitoring on your Android device! Joseph McMahan and JingYu Zhang 麦折服

Backend: Get Data

Page 10: Nutri-Droid “Helping you be healthy and avoid obesity since 2014!” Easy nutrition monitoring on your Android device! Joseph McMahan and JingYu Zhang 麦折服

Backend: Get Data

Page 11: Nutri-Droid “Helping you be healthy and avoid obesity since 2014!” Easy nutrition monitoring on your Android device! Joseph McMahan and JingYu Zhang 麦折服

Backend: Data Format

Page 12: Nutri-Droid “Helping you be healthy and avoid obesity since 2014!” Easy nutrition monitoring on your Android device! Joseph McMahan and JingYu Zhang 麦折服

Backend: Store/Retrieve Data

Page 13: Nutri-Droid “Helping you be healthy and avoid obesity since 2014!” Easy nutrition monitoring on your Android device! Joseph McMahan and JingYu Zhang 麦折服

Backend: Save Database

Page 14: Nutri-Droid “Helping you be healthy and avoid obesity since 2014!” Easy nutrition monitoring on your Android device! Joseph McMahan and JingYu Zhang 麦折服

Backend

● UI passes string to search– Search locally, then on web– Return exception if none (need custom food item)

● “Eat(Food food, int amount) {...}”– Add food to day's list of consumed foods– Add nutrients from amount of food to day's nutrient

consumption

● Return list of consumed foods, day's nutrient consumption/goals, etc.