google-places-api

Getting started with google Place Autocomplete API call

烂漫一生 提交于 2020-01-04 05:24:06
问题 I am doing with Google place Auto complete API call. I have looked out the reference from google developer side. From there i have done some code but i am not getting result so please help me for finding out my mistake... Thanks in advance. This my Manifest. <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.example.googleautocompleteapi" android:versionCode="1" android:versionName="1.0" > <uses-sdk android:minSdkVersion="8" android:targetSdkVersion="17" />

how to access google places web service from android application?

∥☆過路亽.° 提交于 2020-01-03 19:01:34
问题 I am developing an application that should present the user near restaurants. For this purpose I want to use Google Places to get the locations and names in order to draw the places on map, using Google Maps. I am confused about the API Keys. I first generated one API key for Google Maps API (android key) and Google Maps works fine with it, but when I try to use Google Places API Web Service with the same key it tells me : error_message: This IP, site or mobile application is not authorized

How to minimize amount of requests for Google API (places) autocomplete?

左心房为你撑大大i 提交于 2020-01-03 18:05:05
问题 I am using google API - places to autocomplete locations in AutoCompleteTextView . I did couple of tests maybe 20 searches and in my profile on google devs, it's written that I have made 200 API requests. I understand that it is making request every time I type something or edit typed text. But is there any way how to reduce amount of calls to server? One of ideas is to define threshold to 3 characters. 回答1: I think a better implementation to reduce the number of calls to the Places API would

How to minimize amount of requests for Google API (places) autocomplete?

﹥>﹥吖頭↗ 提交于 2020-01-03 18:04:07
问题 I am using google API - places to autocomplete locations in AutoCompleteTextView . I did couple of tests maybe 20 searches and in my profile on google devs, it's written that I have made 200 API requests. I understand that it is making request every time I type something or edit typed text. But is there any way how to reduce amount of calls to server? One of ideas is to define threshold to 3 characters. 回答1: I think a better implementation to reduce the number of calls to the Places API would

Error this API project is not authorized to use this API. Please Ensure this API is activated in the Console

≯℡__Kan透↙ 提交于 2020-01-03 17:50:07
问题 I have created an android project that make use of Google Places API. Once I send request for the nearest places am getting this error: Error This API project is not authorized to use this API. Please Ensure this API is activated in the Console I have already enabled Google Places api for Android and am using browser API key. My question is How do I activate my API? Or is it supposed to be purchased? 回答1: I got solution. I wanted to display nearest places around my location in my android

Error this API project is not authorized to use this API. Please Ensure this API is activated in the Console

不打扰是莪最后的温柔 提交于 2020-01-03 17:49:25
问题 I have created an android project that make use of Google Places API. Once I send request for the nearest places am getting this error: Error This API project is not authorized to use this API. Please Ensure this API is activated in the Console I have already enabled Google Places api for Android and am using browser API key. My question is How do I activate my API? Or is it supposed to be purchased? 回答1: I got solution. I wanted to display nearest places around my location in my android

Android: No resource found powered_by_google_light icon in build tools 23.0.3?

爷,独闯天下 提交于 2020-01-03 17:24:08
问题 I have always used the powered_by_google icons as I'm using the Google Places API . They look like this: On this site, it says the icons are included within the Google Play services library: https://developers.google.com/places/android-api/attributions The 'Powered by Google' image is included in the Google Play services library, in the correct sizes for Android apps. You may not resize or modify these images in any way: For use on a light background: @drawable/powered_by_google_light For use

Google Places API details language not working

懵懂的女人 提交于 2020-01-03 16:46:57
问题 I am working on a bilingual project and started to use Google Places API Webservices. I started using the Place Autocomplete API which works great. I can do this query in both fr and en and will get different description results: https://maps.googleapis.com/maps/api/place/autocomplete/json?key= <insert_key_here> &types=geocode&language= <insert_language_here> &input=144 English result: "description": "14458 Gouin Boulevard West, QC, Canada", "id": "33dcffeeb88b48fa5c1d0ec4e6e54469d05f5d1e",

google maps doesnt show after upload to google play

这一生的挚爱 提交于 2020-01-03 11:35:30
问题 I uploaded my app to the google play store, and the map didn't work, just showed white screen. I understand that I have to get a key based on the release certificate fingerprint. I have tried to read all about it, and have done the following, but it still isn't working: I created a new keystore (with password, and alias and password etc) from Android Studio. I run the cmd and did this: keytool -list -v -keystore key.jls -alias MyPlaces then put in my password, and got all the information that

How to get a an image of a place from a nearby search from google api with an angular app?

ε祈祈猫儿з 提交于 2020-01-03 05:54:18
问题 I am using the google places api, and I am trying to get an image for a place of a nearby search. I have tried several variations, and it seems like the documentation is not right, or I am doing something that is not obviously wrong. I have tried this. let request2 = { key: this.apiKey.getStandardGoogleKey(), placeId:"place_id_to_be_used" }; service.getDetails(request2, (results, status )=> this.callback2(results, status)); } callback2(results, status){ console.log(results); } I get this