Get nearest place using Sqlite database using Google places API Android -


i new google places api. have seen many examples showing result of given radius. having lang , lat values in sqlite database want search nearest place given address of current location. can 1 guide me through this?

few stackoverflow questions regarding , gave solution of formula.

query records based on radius in sqlite? google maps api, retrieving nearest places

can 1 give me link demo example?

use:

https://maps.googleapis.com/maps/api/place/search/json?location=lat,lng&radius=radius&types=types&sensor=false&key=key

where: lat - lattitude lng - longitude radius - radius in meters types - places types (if more 1 seperate '|') key - api key

you can read more here:

https://developers.google.com/places/documentation/search


Comments

Popular posts from this blog

html - How to style widget with post count different than without post count -

How to remove text and logo OR add Overflow on Android ActionBar using AppCompat on API 8? -

javascript - storing input from prompt in array and displaying the array -