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
UI Design Cont. From Google to our App
UI Design Cont. Common food Enable quick search Common Food Fruits: Apple Peach Lemon Vegetables: Lettuce Potato Tomato Nuts: Almond
UI Design Cont. Search History Enable quick search Search History Today: Apple Peach Lemon Yesterday: Lettuce Potato Tomato Last week: Almond
UI Design Cont. Daily Nutrition What you eat today Daily Nutrition Today You Have: Calories: 1200 Fat: 23 g Sugar: 0 g 800
UI Design Cont. Exercise Calculate time for exercise to lose calories Exercise Running: 30min 400 calories Walking: 30min 200 calories
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
Backend: Get Data
Backend: Data Format
Backend: Store/Retrieve Data
Backend: Save Database
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.