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
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
I also faced the same problem when i started my first location based app..:)try to reading this :
http://code.google.com/apis/maps/documentation/places/
and this :
http://code.google.com/apis/maps/documentation/geocoding/
Hope it will help you...!!
Related
As far as I know, I can get the near by places from user's current location i.e. from latitude and longitude by using google play web service. Can I get the following categorized places. Is there any api to get it? please suggest the solution. Thanks in advance
Tourist attractions
Restaurants Hangouts
Events this week
Weekend Getaways
My sad without some research posted the question. I found the answer to my question on this
I wanted to venture into making apps. I wanted to make an app that gathers the events around the user location wise. I want the app to show the events close to user using the GPS of the phone. There is a city page where all the events are listed but I don't have any ideas how I will be able to fetch the data. What are the other ways I can go forward with this? It would be encouraging so that I can research further.
try this
http://www.last.fm/api/show/geo.getEvents
login this and get the api calls and use it in your code
i think you can use a combination of api's to give you the data you are looking for, one such provider i found was http://api.eventful.com/, you can probably even try including foursqaure and meetup's api and even facebook opengraph event api can also provide some handy data.
I am wondering one thing, when you scan a bar code with ZXing scanner, how to go and get the result of the barcode data from Google Product database ?
I already got a database to store the scanned result btw.
I have no clue recently though I have read some of the stackoverflow topics regarding with this topic.
Research that I have done so far:
I have been looking into this :https://developers.google.com/shopping-content/getting-started/usingapi-products
But I don't understand... because i m not sure if Android includes the JSon and Atom?
I know this question is so general but I need some explanations as well because I didn't understand it.Thank you ! :)
You can simply search barcodes by opening the browser with the following URL: http://www.google.com/m/products?q=YOUR_BARCODE
Or you can use Google Search API for Shopping if you like to handle the result on your own (show results/offers in your app). In that case you are restricted to 2500 requests per day (http://code.google.com/intl/de-DE/apis/shopping/search/v1/getting_started.html)
i want to get the current weather update of my current location in android.
the weather update may b in C or F.
i dnt want any extended forecast values...
flow of my app is like:
it gets coodinates and from the coordinates it gets name of the location..based on that location it must return me the weather condition of that area.
kindly help me out in completing this module. m new to android :)
if possible plz give me code sample.
Thanks in advance :)
There are a number of ways to get that, mostly web services but you need to check the terms of service, a lot of them don't want you to embed them in a paying app
via Weather Underground and others via Msn and Google API National Weather Service REST
You probably just want to search for "[Android] Weather" in SO search bar and find something that fits. Googles Weather API seems to be the easiest Google Weather API Tutorial
Google transit provides approximate time of the next bus arriving at a particular bus-stop when you click on the bus-stop icon. This works for trains and even metro lines.
Is there any way I can use these transit information in my own map view? I tried going to the link that is displayed under the timings ( I guess it means thats where google is getting the timings from) but that link is broken...doesnt exist...it must be providing the information to Google only...
So is there any way i can access the Google Transit information?
Thx.
Yes, the data feeds are publicly available and published by the corresponding transit agencies. The available list is here. You'd need to download the data and host it or include it in your app.
In the "worst case scenario", you could download the result of a web query to maps.google.com (such as http://maps.google.com/maps?saddr=new+york&daddr=boston&dirflg=r) to your app and parse the result. Maybe there are even sample-scripts that already do this!
So finally i had to drop the idea...its only available for usa at the link given by #Robby but is (currently) unavailable for quite many countries.
Hoping itll be available soon.
Thx for all the responses.