gmsplacepicker

How to change language of placepicker in android?

牧云@^-^@ 提交于 2019-12-13 02:34:35
问题 is there any way to change language of place picker without change phone's language ? in this link use change phone's language method : Change title language PlacePicker 回答1: There is no direct way of changing the language through the Google Place Picker API. What you can do is to force the locale of the app activity since changing the language of the phone does work. A notable SO post discussing this can be found here Hope this helps. 来源: https://stackoverflow.com/questions/35720426/how-to

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 Picker not working anymore, says: The Places API for iOS is not enabled. See the developer’s guide

℡╲_俬逩灬. 提交于 2019-12-11 06:08:21
问题 I am getting the error: Error: The operation couldn’t be completed. The Places API for iOS is not enabled. See the developer's guide (https://developers.google.com/places/ios-api/start) for how to enable the Google Places API for iOS. Google Account for map services is configured properly, billings etc. already done. Code used to present: let autocompleteController = GMSAutocompleteViewController() autocompleteController.delegate = self present(autocompleteController, animated: true,

Android - Google Place Picker does not display search box

五迷三道 提交于 2019-12-11 01:41:59
问题 I am trying to make an app which can enable user to "check-in" at a certain location through Google Place Picker. I use the code from Google : PlacePicker.IntentBuilder intentBuilder = new PlacePicker.IntentBuilder(); intentBuilder.setLatLngBounds(DEFAULT_LOCATION); Intent intent = intentBuilder.build(LocationActivity.this); startActivityForResult(intent, PLACE_PICKER_REQUEST); The problem is, the search box doesn't appear in some devices but appears in a certain device. Here's a snapshot

is there any way to get city name for Google Place picker android

依然范特西╮ 提交于 2019-12-04 09:48:28
I am trying to get city name from Google place picker. is there any way that we can get city name using place picker API. i know we can not simply get it from API by placing place.getCity(); Below is my code. protected void onActivityResult(int requestCode, int resultCode, Intent data) { if(requestCode == REQUEST_PLACE_PICKER){ if(resultCode==RESULT_OK){ Place place = PlacePicker.getPlace(data,this); final CharSequence name = place.getName(); final CharSequence address = place.getAddress(); final CharSequence phone = place.getPhoneNumber(); final String placeId = place.getId(); final LatLng

How to get country, city from place picker's address?

浪尽此生 提交于 2019-12-01 15:10:03
问题 I am using a place picker's intent to get the place. Now I want to save address in separated form as country,city,pincode,state. How can I get all this from the place picker's address? Code: public class NameOfBusinessFragment extends Fragment { int PLACE_PICKER_REQUEST = 1; int RESULT_OK = -1; PlacePicker.IntentBuilder builder = new PlacePicker.IntentBuilder(); EditText category,location; @Override public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle

Android Place Picker (PlacePicker) no longer has Search icon after updating to Google Play Services 9.0.83

女生的网名这么多〃 提交于 2019-11-28 21:58:55
Very recently some of my users began reporting that the search icon had disappeared from the PlacePicker UI widget. I was able to isolate the issue to updating to Google Play Services 9.0.83. Has anybody found a workaround to get the search icon back again? Update: I also noticed that the setLatLngBounds() method of the PlacePicker.IntentBuilder class no longer functions properly after updating to 9.0.83. It centers the map at 0 lat, 0 long out in the Ocean off the coast of Africa. As long as I do not invoke setLatLngBounds() the PlacePicker will center in on my current location. Update: I

Android Place Picker (PlacePicker) no longer has Search icon after updating to Google Play Services 9.0.83

两盒软妹~` 提交于 2019-11-27 14:09:40
问题 Very recently some of my users began reporting that the search icon had disappeared from the PlacePicker UI widget. I was able to isolate the issue to updating to Google Play Services 9.0.83. Has anybody found a workaround to get the search icon back again? Update: I also noticed that the setLatLngBounds() method of the PlacePicker.IntentBuilder class no longer functions properly after updating to 9.0.83. It centers the map at 0 lat, 0 long out in the Ocean off the coast of Africa. As long as