google-places-api

Problems to find nearby Locations in android

人盡茶涼 提交于 2019-12-11 08:49:25
问题 I'm following this tutorial to get nearby location, I followed each and every step as per tutorial. But when I run my app, I'm getting following errors: 10-08 10:57:37.125: E/dalvikvm(758): Could not find class 'com.google.api.client.http.javanet.NetHttpTransport', referenced from method com.androidhive.googleplacesandmaps.GooglePlaces.<clinit> 10-08 10:57:37.475: E/dalvikvm(758): Could not find class 'com.androidhive.googleplacesandmaps.GooglePlaces$1', referenced from method com.androidhive

How to show PlacePicker location on a Google Map?

折月煮酒 提交于 2019-12-11 08:47:47
问题 My app uses the google maps api and the google places api. Everything works perfectly until I search for a certain place, when I search for a place and then select it from the results a dialog box (which should not show) shows up and prompts the user if they want to select that place or change the address. After clicking "select" the app removes the places UI and turns into a regular map, without ever going to the place selected. My code is below. public class MapsActivity extends

Search Google Place API for places within LatLngBounds on Android

本小妞迷上赌 提交于 2019-12-11 08:18:58
问题 I am building an Android application that lets users find restaurants in a specific area (LatLngBounds). I want to do a Google Place search for restaurants that are located inside this LatLngBounds and not outside of it. I understand that there is a way to do this with the Google Maps JavaScript API V3, however, is there a way to do a Google Place search using LatLngBounds as the location parameter on Android? Thank you 回答1: After some thorough researching, I've realized that there is no easy

How to set language restriction in com.google.android.libraries.places:places:

狂风中的少年 提交于 2019-12-11 08:08:17
问题 I'm setting up this new google places api --> com.google.android.libraries.places:places:1.1.0 but I'm unable to find to set the language for results provided by this api. when I input some keywords it shows result in Local Language "Hindi"(Indian Language) only in few keywords it is doing this but in general it shows normal English results. There is the following keyword on which it shows result in Hindi:- Keyword: "Rohini Sector 11" Output: 244, behind G3S CINEMA HALL, सेक्टर 11, रोहिणी,

token=android.os.BinderProxy error android?

荒凉一梦 提交于 2019-12-11 08:03:57
问题 I am using google place picker for in android but when it opens it immediately stop before you can pick a place. this is the code try { PlacePicker.IntentBuilder builder = new PlacePicker.IntentBuilder(); startActivityForResult(builder.build(this), PLACE_PICKER_REQUEST); } catch (GooglePlayServicesRepairableException e) { e.printStackTrace(); } catch (GooglePlayServicesNotAvailableException e) { e.printStackTrace(); } This is the error token=android.os.BinderProxy@3431c3eb Timeline: Activity

google places api more than 60 results

此生再无相见时 提交于 2019-12-11 07:43:00
问题 I'm using places text search api to locate the stores of a brand in a city. But there are more than 60 stores for those brands in a city. But through google places api I'm getting only 60 results, which I can get using pagination method(page_token) . Is it possible to access more than 60 results using google places api. API:: First request :https://maps.googleapis.com/maps/api/place/textsearch/json?query=pizza+hut+in+bangalore&sensor=true&key= 回答1: It is not possible to access more than 60

GooglePlacesSDK Returning Error 500

倖福魔咒の 提交于 2019-12-11 07:34:27
问题 I am getting an error from google places: { "error": { "errors": [{ "domain": "global", "reason": "backendError", "message": "Backend Error" }], "code": 500, "message": "Backend Error" } } I am using the Google Places API for iOS version 2.0.0 . The error looks strange. Is there anyone who experienced that and help me getting rid of that error? 来源: https://stackoverflow.com/questions/44118058/googleplacessdk-returning-error-500

Android App key restriction is not working for Google Places API Web Service [duplicate]

﹥>﹥吖頭↗ 提交于 2019-12-11 07:27:14
问题 This question already has an answer here : Why Google places API key not works? (1 answer) Closed last year . I have provided package name ( app id ) and sha1 certificate fingerprint for app, but still Android App key restriction is not working for Google Places API Web Service Looks like Android App key restriction not supported for Google Web API key, however before switching to plan B, I though to double check, in case anyone have found it working This question is not a duplicate of Why

Can Google Places API pull specific types of places, like schools, without a location?

眉间皱痕 提交于 2019-12-11 07:15:30
问题 I want to have users able to search their school and Google Places API return a list of results (School Names along with addresses). eg. User enters "Springfield Elementary" and the Places API gives the top results for that. Is that possible at all? And also without knowing the user's location? 回答1: You can have a look at the Places API text search. For example, the following request can search places that contain "Springfield Elementary" and have a type "school": https://maps.googleapis.com

Calling Google Places API in a RecyclerView

北城余情 提交于 2019-12-11 06:53:49
问题 I have a RecyclerView whose adapter fetches details about a place ID using the Google Places API. The adapter then displays those details (eg. place address) in each element of the RecyclerView. Is there a recommended way to achieve this asynchronously? In my current solution, the place addresses are sometimes displayed in the incorrect RecyclerView element when the user scrolls up or down. Also when tapping on a RecyclerView element to go to the detail screen, then going back to the original