100 likes | 227 Views
Green basket Android Application * Let's you do your grocery shopping location based. * Let's you decide to go to the closest grocery store from where you are. * Let's you save the shopping list for later revision(Add item, edit item, and delete item). Android - Project. Green basket App.
E N D
Green basket Android Application * Let's you do your grocery shopping location based. * Let's you decide to go to the closest grocery store from where you are. * Let's you save the shopping list for later revision(Add item, edit item, and delete item). Android - Project
Green basket App • Allows you to enter grocery items. • Let's you specify the quantity and the store of your choice. • Also, features a set of options to edit, delete and map items in the application.
Green basket – Edit Option • Edit button, takes the user to a screen where the selected list item can be edited and updated to the main screen. • SQLite is being used to store data on device as a data persistence solution.
Green basket – Delete Option • Delete option removes the item from the application ListView and the SQLite database using the product name. • Once the item has been removed – both ListView and database are updated.
Green basket - Google Map features * Users are able to select an item from the list, press the Map Item option- to show the items located in a map with a route from the users’ current location.
Green basket – Google Places API * In order to offer users with the most up to date store location information – Google Places API has been put to good use. - The application requests from the API a JSON output- showing a list of places ranked by closest distance from the place of origin. (User's Location) - The JSON output is then parsed and translated to places and items for the map.
Google Distances Matrix API(research) * This API is useful to gather information from two locations. However, the server rejected requests for multiple destinations. I resorted to get one-to-one requests – making the program take longer than needed to calculate distances between stores. -Fix: rankby=distances with Google Places API
Green basket – multiple stores * Google places API allows to calculate the closest store from one to another while shopping. -Helps to display place address * Multiple stores can be mapped arranging a route from current location to destination (last store to visit).
Green basket – near store suggestions * Green basket suggests near-by stores that might fit users needs. * Improvements -Reroute to a near-by store -Remove green basket locations as user visits them and completes the grocery list.