Questions tagged [placeautocompletefragment]

41 questions
0
votes
1 answer

Draw the driving path in map according PlaceAutocompleteFragement input of source and destination Android

The first time i write android project. And I face a problem is that. I have get the source and destination information from PlaceAutocompleteFragement. However, I don't know how to draw them in a map. I have saw some article like drawing a path in…
Ebet
  • 21
  • 1
  • 7
0
votes
0 answers

Android GoogleMaps MapView with Search bar

I have a Fragment containing a MapView object and would like to equip it with a searchbar. I found Google Maps documentation on PlaceAutoCompleteFragment, however this only seems to work with a MapFragment, not a MapView. Anyone know if it is…
Vr33ni
  • 101
  • 16
0
votes
1 answer

PlaceAutocompleteFragment show "Can't load searching result"

PlaceAutocompleteFragment autocompleteFragment = (PlaceAutocompleteFragment) getFragmentManager().findFragmentById(R.id.place_autocomplete_fragment); autocompleteFragment.setBoundsBias(new LatLngBounds( new…
Ebet
  • 21
  • 1
  • 7
0
votes
2 answers

Restrict Google Place Autocomplete to within a city

Currently, I am working on a restaurant app where people can take photos and tag them to a Google Place. However, since my app is targeting developing countries like India, the Google Places are not all very well defined. So I am allowing users to…
Abhishek
  • 1,261
  • 1
  • 13
  • 30
0
votes
2 answers

How to change the hint's text color of PlaceAutocompleteFragment?

I don't see any methods that I can use to change the text color of hint in PlaceAutocompleteFragment.
Uddhav P. Gautam
  • 7,362
  • 3
  • 47
  • 64
0
votes
0 answers

PlaceAutoCompleteFragment closing issue

I facing sudden closing of PlaceAutocompleteFragment. I am getting this error Status{statusCode=ERROR, resolution=null} My xml layout
Kiran Benny Joseph
  • 6,755
  • 4
  • 38
  • 57
-1
votes
1 answer

Android - NullPointer for PlaceAutocompleteFragment when using RecyclerView

Goal: I am trying to use the RecyclerView to add EditText field(s) and PlaceAutocompleteFragment field(s) Note: PlaceAutoComplete worked before adding the RecyclerView. Also, EditTexts work fine in RecyclerView, but once I try to use…
-2
votes
1 answer

Error getting autocomplete prediction API call: com.google.android.gms.common.api.ApiException: 9003: PLACES_API_ACCESS_NOT_CONFIGURED

My placeautocomplete adapter is not working, I have added the api key, billing is also approved. Whenever I click to search a place it gives me an error of ApiException:9003 and the logcat points to the "PlaceAutocompleteAdapter.java" shown below.…
Nilaw
  • 1
  • 2
-2
votes
3 answers

Draw route between two address

I have to draw a route between two addresses which are written in two place autocomplete fragments. I searched for it but most code are of onclick event. I have to draw polyline based on the address written in the fragments. Can you give me a…
-2
votes
1 answer

Error Inflating class autocompleteFragment with viewPager

The crash is when i switch the page from 2 to 0 or 1. And when i Comment the auto Complete Fragment at activity_maps.xml Please help me. --------- beginning of crash 12-04 01:31:01.005 12693-12693/com.handsomelee.gotroute E/AndroidRuntime:…
1 2
3