Questions tagged [placeautocompletefragment]
41 questions
1
vote
0 answers
How to handle event on Search button on keyboard which comes when we use PlaceAutocompleteFragment
PlaceAutocompleteFragment implementation is working fine, as it should work. On Click on PlaceAutocompleteFragment, I am able to search places.
PlaceAutocompleteFragment autocompleteFragment = (PlaceAutocompleteFragment)
…

Manish Singh Rana
- 822
- 1
- 13
- 26
0
votes
0 answers
Places Autocomplete in Flutter web version
I am building website using Flutter now. Btw I have one problem regarding the places autocomplete in web version using Flutter. So if user types address string in input field, then predictions will popup in the list.
I tried to find the solution…

DreamHigh
- 1
- 1
0
votes
1 answer
how to solve Android Place Autocomplete intent issue?
I'm trying to use google Place Autocomplete in my app.
Like described in the documentation, there is two ways to use this feature : one using a fragment and the other way is to use an Intent and that's what I choose.
My code is like…

Mohamed Jihed Jaouadi
- 1,427
- 4
- 25
- 44
0
votes
1 answer
Required by: project :app > com.google.android.libraries.places:places:2.4.0
i am trying to implement PlaceAutoComplete powered by Google in my application. but i am unable to do this... i have implemented the required dependency in app-level build.gradle file and write code. but when i run the application it gives me…

Aqeel Mughal
- 2,105
- 2
- 6
- 14
0
votes
2 answers
How can a ViewModel function access the Place instance returned by PlaceSelectionListener of AutocompleteSupportFragment?
I am building an Android app using Kotlin.
I have a layout that contains a create_button. When the user clicks the button, the onClick should call onCreateJourney() in my ViewModel. This function requires the selectedPlaceId parameter to update a…

disi
- 1
0
votes
1 answer
How to add place options for mapbox placeautocomplete
PlaceOptions placeOptions=new PlaceOptions() {
@Nullable
@Override
public Point proximity() {
return null;
}
@Nullable
@Override
public String language() {
return…

Andrija Randjelovic
- 13
- 5
0
votes
1 answer
Not able to remove search button in Auto complete Fragment in android
I am using auto complete fragment to search location using google places it is working fine. Now i want to remove search icon so used below code but one error is showing. code and error text are below.
Code sample…

Ayushprana Ayurvedic
- 63
- 2
- 6
0
votes
1 answer
Type mismatch. Required: Fragment, Found: PlaceAutocompleteFragment
I bumped into a
Duplicate ID, tag null, or parent id with another fragment for
placeAutocompleteFragment
error, and so i followed this solution to try and fix it by adding the placeAutocompleteFragment via a fragment transaction using the…

Barcode
- 930
- 1
- 13
- 31
0
votes
0 answers
How to implement a PlacesAutocompleteFragment in Toolbar?
i am on android for 2 weeks now. As my first project i tried to set up a Toolbar with a switch and the placeautocompletefragment, followed by a mapfragment.
So the map works fine, the toolbar too, except the Placeautocompletefragment in it.
While…

Michael Hutter
- 1
- 1
0
votes
1 answer
Use place autocomplete for place picker
I am working with placepicker in android to select a place and fetch details about the place. There is placeautocomplete fragment built in for place picker activity. when we provide any address there it will directly select that place and confirm…

Avi Patel
- 475
- 6
- 23
0
votes
1 answer
Get access to SupportPlaceAutocompleteFragment result listener
Google SupportPlaceAutocompleteFragment has listener when address in fragment is selected with: autocompleteFragment.setOnPlaceSelectedListener
But it works only when results overlay is closed and you deal with that results. My goal is to intercept…

Олександр Бабіч
- 1,265
- 2
- 17
- 27
0
votes
2 answers
NullPointerException while changing hint of PlaceAutoCompleteFragment
In one of my fragments, I have implemented a PlaceAutocompleteFragment as follows:
@Override
public void onViewCreated(@NonNull View view, @Nullable Bundle savedInstanceState) {
super.onViewCreated(view, savedInstanceState);
…

V. Doe
- 91
- 6
0
votes
1 answer
PlaceAutocompleteFragment on click first time getting only focus
I am having trouble while using PlaceAutocompleteFragment with custom layout.
First time when i click on it it just get focus and another time click it popup.
i used that inside fragment class.
here is link that uploaded video on it .
i used…

Kishan
- 465
- 4
- 13
0
votes
1 answer
Google Place Api: Requests from this Android client application com.package.name are blocked
I am using PlaceAutocompleteFragment and when i click on search field PlaceAutocompleteFragment dialog disappear then i get this error :
{"errors":[{"domain":"global","reason":"forbidden","message":"Requests from this Android client application…

Ganger
- 91
- 3
- 10
0
votes
1 answer
get Direction and get path android studio
i am trying to choose form the autocomplete a place and drew a path to it and when i pick a place from the autocomplete the app crashes.
please see the
--------- beginning of crash
E/AndroidRuntime: FATAL EXCEPTION: main
…

Saouti Mohamed
- 31
- 1
- 4