androidgeolocationgps

finding nearby hotels in android


Hello I am new in making GPS based application so please help me

I am making an application which find the nearby hotels(say 1km )according to user location and show the list of them with phone no.

How to go next after detecting the user location?

and how will i get these hotels? is there any api or web service which provides this facility.

I found lots of similar questions there but they're still not clear to me.

if any one could explain this, it would be a great help.

Thank you in advance


Solution

  • For getting nearby famous places, you have to use Google's Places API. You will get complete information from the above link.

    Also you can go through the discussion related to the same thing in Using Google Places API

    Search by category, with over 100 different categories offered, and an Autocomplete service: http://code.google.com/apis/maps/documentation/places/autocomplete.html

    You can see complete list of supported categories here : http://code.google.com/apis/maps/documentation/places/supported_types.html