Skip to content

Rikahei/food_calories_ranking

Repository files navigation

Fast food calories ranking

This application is an android native application, API level 19. The application target is ondiet user which really cares about calories and food heathly. The application will recommend most heathly and less calories fast food meal to the user. When user start to run the application, the application try to get user location and requesting nearest information from google map api. The application recive map data and turn it into output value for the application. The food information will suggest to the user based on recived map data, and user can change the filter to find out the best information to them.

Function

Search for nearest fastfood resturant and show the food calories.

Design Workflow

Get known user location

User location provided by Google service from FusedLocationProvider API.

Downloading Json Feedback from Google map API.

Used Async Task to download Json Data in background to avoid UI freezing.

Foods Data

All data was collected on fast food resturant offical websites. Data update is not regularly and maybe out to date.

Display Information

Base on API feedback, the app will show nearest meal to the user within a range.

Algorithm

To get local data to the user, the app request location information from google map api. After recived information from google map, the app compare with local database, and update information to the user in UI.

TO DO

Refactoring the datebase using firebase system. Add more food information to the database. Add filter for food sorting.

About

Android app developed by android studio

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages