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 dialog appears, I dont want that instead i want my location icon(Camera) to go to that location and then user choses unknown location if not available in autocomplete fragment.
Use place autocomplete for place picker
427 Views Asked by Avi Patel At
1
There are 1 best solutions below
Related Questions in ANDROID
- Creating global Class holder
- Flutter + Dart: Editing name of a tab shows up a black screen
- android-pdf-viewer Received status code 401 from server: Unauthorized
- Sdk 34 WRITE_EXTERNAL_STORAGE not working
- ussd reader in Recket Native module
- Incorrect display of LinearGradientBrush in IOS
- The Binary Version Of its metadata is 1.8.0, expected Version is 1.6.0 build error
- I can't make TextInput to auto expand properly in Android
- Creating multiple instances of a class with different initializing values in Flutter
- How to create a lottie animation
- making android analyze with coverity sast tool
- Flutter plugin development android src not opening after opening example
- I initialize my ViewModel in the Activity with several fragments as tabs, but the fragments(tabs) return null for the updated livedata
- Node.js Server + Socket.IO + Android Mobile Applicatoin XHR Polling Error...?
- How I can use the shared preferences class?
Related Questions in GOOGLE-MAPS-API-3
- distance matrix api gives incorrect data
- google maps api - how to get location information /place_id from shareable links maps.goo.gl
- How to Filter bus stops between Start and Stop BUS STOP?
- On Vue 2 : You have included the Google Maps JavaScript API multiple times on this page. This may cause unexpected errors
- How to correctly use the Google Maps Geocoding endpoint? It's not returning correctly place
- Maps and Cloud Google API Acces
- My location also moves when dragging the Google Map left and right
- Edited polygon not showing up after saving changes in Google Maps API
- Finding a point exactly between two points on a map at a specific distance from one point
- Way to search and get a panoram image and other info on places
- Own map in the google maps API
- how can i use googlemap gRPC in android?
- Can't render two markers at a same time @react-google-maps/api
- HTML/JS Google Maps API for reviews is showing only 5 reviews
- Does Google Maps API incorrectly interpret -90 and 90 lat?
Related Questions in PLACEAUTOCOMPLETEFRAGMENT
- how to solve Android Place Autocomplete intent issue?
- Implementing Google places autoComplete textfield implementation in jetpack compose android
- Required by: project :app > com.google.android.libraries.places:places:2.4.0
- How can a ViewModel function access the Place instance returned by PlaceSelectionListener of AutocompleteSupportFragment?
- How to add place options for mapbox placeautocomplete
- com.google.android.gms.location.places.ui.placeautocompletefragment is deprecated
- Not able to remove search button in Auto complete Fragment in android
- Error getting autocomplete prediction API call: com.google.android.gms.common.api.ApiException: 9003: PLACES_API_ACCESS_NOT_CONFIGURED
- Cannot Resolve Symbol "Place.Field"
- Android Google Place API Error Status{statusCode=PLACES_API_ACCESS_NOT_CONFIGURED, resolution=null}
- Type mismatch. Required: Fragment, Found: PlaceAutocompleteFragment
- Android Place Autocomplete Fragment: Unable to set text
- How to implement a PlacesAutocompleteFragment in Toolbar?
- PlaceAutocompleteFragment - null cannot be cast to non-null type (Kotlin)
- Use place autocomplete for place picker
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular # Hahtags
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
To do that, you need to implement your own activity with 2 fragment in its layout: The first is the PlaceAutoComplete fragment
and the second is the GoogleMap fragment (or the View)
In your activity you need to setup the PlaceSelectionListener and retrieve the Place from the PlaceAutoComplete.
Now, you can use it for setting up a point on the map, focusing and zooming on it.