I need to check if there is any place (e.g. coffe, bar, business center, etc.) registered at a specific Lat&Long values or nearby and get the name of those places. Does anyone know how can I do such a thing in Android?
Tks in advance,
Regards
There are some possible libraries/services you could use to get geolocation support for your app. I only tried out gisgraphy.
The Google Maps Geolocation API - uses Google services.
gisgraphy - uses open streetmap, free to use if "personnal,non commercial and non profit one AND in a smart way". You can set up your own gisgraphy server if you want for free. Provides a REST API or a java library to use in your project.
Overpass API - an read-only API for openstreetmap servers. You could also set up your own server or use one of the services in the osm wiki if it fits your needs
You may try the Google Places API.
Related
I'm working on a mobile app project that uses Google Places APIs and have some questions:
From my research in Google documentation, they allow FREE and UNLIMITED use of their Google Places API data when used by Android devices. Currently, my development team is accessing Google Places Web Services API for all API calls. For the Android devices, should I have them change to use Google Places API for Android in order to take advantage of this?
I read in Google's API policy that they may allow for caching of API data (with limitations - i.e. you must refresh every 30 days, etc) if you want to increase performance of your code and/or use in offline mode, etc. However, it says you must get their permission for caching from Google. I cannot find how or where to request this permission. Would be helpful if you can point me in the right direction with a form or a link or something.
Appreciate any help. Thanks.
Anyone has a tutorial of making LBS applications like this? I want to make an application to determine the trajectory of the city's public transport me, but I did not find his examples everywhere, if you have please help me to develop it, thank you
It is a concept design of my application layout
To develop an android app which uses Google API's would be a combination of Google Maps API, Location Api, Direction API and also Places API(if you want to fetch the details of your source and destination). If you are developing this app for a special transit system in your city than you would specifically need their own set of API to populate your app data.
But if you want to develop something with free open source Google API you can first make use of the Google Play Services by first referring into your app project and then getting the API key, enabling the direction api "ON" in your developer console and writing code.
Please refer to this tutorial in order to get a better insight of the transit system app you want to develop. You can customize you app UI accordingly once you have the data coming in.
Here are the bunch of links from Google's official documentation regarding implementation of all API's.
https://developers.google.com/maps/documentation/android/
https://developers.google.com/maps/documentation/directions/
https://developers.google.com/places/documentation/
Hope this would help!!
I'm writing an app that needs to determine whether a user falls within one of several defined zones (based on gps location).
The Google maps javascript API has an easy to use function containsLocation(). However I want to be able to do this from an app on android, not a web-based service. Does anyone know if such a call exists in the android version of maps? Any pointers will be helpful!
A bit late, but here's the answer: com.google.maps.android.PolyUtil.containsLocation() from Google Maps Android API utility library.
You can use the Geofencing feature for this purpose. The API's for that are a part of Google Play Services library and hence you can start using it by importing it into your app project.
It even gives the notification if a particular user has entered or exited a specific geofencing location in order for a developer to monitor the number of mobile devices entered in the zone he defined. The implementation is pretty simple, I am pasting some links that may guide you further.
This is Google's official documentation about Geofencing:
http://developer.android.com/training/location/geofencing.html
This link actually implements an app for geofencing.
And this is another link if you want to use a third party plugin in order to get geofencing in your app.
Hope this would help!!!
I want to show suggestion list same as google maps application.
I found some api on google developer site but they dont return same result as google maps application.
https://developers.google.com/places/documentation/search#PlaceSearchRequests
check this screen shot for more.
Its finding using current location, my location is jaipur,rajasthan,india.
You need to use third party library API for this. FourSuqare provides the most efficient and largest database of location based API for this. IT uses type ahead. I would recommend to use their iOS SDK or Android SDK.
The also offer REST web services. Here is a complete documentation for the same.
What you are looking for is this API
You can use a handy library that utilizes the Google Places autocomplete API ... or you can "inspire" from here... https://github.com/chenyuan/SPGooglePlacesAutocomplete
The result:
I want to get the speed limit of a specific route.
Is it possible to get by using any Google APIs ?
You can get it for free by using their test API app. You can edit the GPS points in the GUI or add them to the list like below.
https://developers-dot-devsite-v2-prod.appspot.com/maps/documentation/roads/full/inspector_with_api_key/#33.804563,%20-118.390564|33.806534,%20-118.389818|33.808062,%20-118.388568|33.810220,%20-118.387004|33.811542,%20-118.386693|33.814829,%20-118.386496|33.815859,%20-118.385744|33.817249,%20-118.384425|33.818196,%20-118.383715
Luckily now Google provides speed limit, by using their Google Roads API but only on their Premium Pricing Plan.