Download presentation
Presentation is loading. Please wait.
Published byPatricia Riley Modified over 8 years ago
1
Nutri-Droid “Helping you be healthy and avoid obesity since 2014!” Easy nutrition monitoring on your Android device! Joseph McMahan and JingYu Zhang 麦折服 张婧予
2
UI Design Search what you want to know Everyday food listed Enable quick search What you have today Calculate exercise time to reduce calories
3
UI Design Cont. From Google to our App
4
UI Design Cont. Common food Enable quick search Common Food Fruits: Apple Peach Lemon Vegetables: Lettuce Potato Tomato Nuts: Almond
5
UI Design Cont. Search History Enable quick search Search History Today: Apple Peach Lemon Yesterday: Lettuce Potato Tomato Last week: Almond
6
UI Design Cont. Daily Nutrition What you eat today Daily Nutrition Today You Have: Calories: 1200 Fat: 23 g Sugar: 0 g 800
7
UI Design Cont. Exercise Calculate time for exercise to lose calories Exercise Running: 30min 400 calories Walking: 30min 200 calories
8
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
9
Backend: Get Data
11
Backend: Data Format
12
Backend: Store/Retrieve Data
13
Backend: Save Database
14
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.
Similar presentations
© 2024 SlidePlayer.com Inc.
All rights reserved.