Skip to main content

All Questions

Filter by
Sorted by
Tagged with
0 votes
1 answer
57 views

Google Maps - Places API: Why can't I combine ADDRESS and ESTABLISHMENT in setTypesFilter()?

I'm using the Places SDK for Android and trying to get both addresses and business names in autocomplete predictions. Since setTypeFilter() was deprecated, I switched to setTypesFilter() as ...
mmm808's user avatar
  • 301
0 votes
1 answer
103 views

OAUTH for Google Places API (New): Avoid having to grant Android automation tool Tasker access to my Google account after every restart

I am using the Android automation app Tasker (joaoapps.com) to control different APIs (Spotify, Poweramp, Tomorrow.io weather) for an Android device in my car. I also use Tasker to control the "...
Philipp Mayer's user avatar
1 vote
1 answer
2k views

GooglePlacesAutocomplete not working in expo app, throws "Error: crypto.getRandomValues() not supported"

I am trying to use GooglePlacesAutocomplete in my expo app. I installed it in my expo app with the following command: npx expo install react-native-google-places-autocomplete And I am using it on a ...
Rushwin Jamdas's user avatar
0 votes
0 answers
48 views

Places API function findCurrentPlace() limits my app min SDK to 26

I tried adding the users current location to the google map I had using google places api, and while it worked, I noticed that under api level 26 it gave an error, after elaborating I found that the ...
user27347117's user avatar
4 votes
1 answer
397 views

Android PlacesClient getting garbage collection error

I'm creating a Google Maps Places API Client using the following code: override fun onCreate(savedInstanceState: Bundle?) { super.onCreate(savedInstanceState) if (!Places.isInitialized()) { ...
Praveen's user avatar
  • 468
1 vote
1 answer
121 views

How can I identify which code in my Android application initiates the creation of threads using the Android Profiler

I am working on a plugin-based application which has different plugins. Each plugin is independent of the others. I am also using the Google Places API as a plugin in it. There is an option to refresh ...
Aditya Mishra's user avatar
0 votes
1 answer
130 views

Unable to find nearby places in android studio using Java

I am working on an Android project and I want to search for nearby places(for example hospital), but this code doesn't work. From what I saw in debugging mode, it skips this line: placesClient....
Michael's user avatar
0 votes
0 answers
45 views

GooglePlacesAutocomplete onpress event not working

During the text change, I can see all the suggested addresses that means the key is working as expected, however when I select and pressed the item nothings happen. The data did not show even I tried ...
user24286023's user avatar
3 votes
0 answers
350 views

Google API Place Autocomplete for Android - Error: Make sure to call shutdown()/shutdownNow() and wait until awaitTermination() returns true

The error seems in the log every times that I search a new address in a AutocompleteActivity from the second time onwards. I am making an Autocomplete functionality in an Android application to API 33 ...
Leonardo Furtado de Luna's user avatar
0 votes
1 answer
148 views

GooglePlacesAutocomplete not working in react-native apk file for android

I implemented Google Places API in my react native project and I'm trying to query places search with the GooglePlacesAutocomplete but for android it only works while testing with expo and when I ...
Eric's user avatar
  • 107
0 votes
0 answers
128 views

Google Places API billing each request individually despite using AutocompleteSessionToken

I am working on an Android application that utilizes the Google Places API to fetch autocomplete suggestions, and later fetch details about a place selected by the user. According to the Google ...
rafik's user avatar
  • 67
0 votes
0 answers
94 views

How can I achieve a smooth direction update using DirectionsAPI (I'm using Google Maps API for my application)

private void getPlaceDetails(String placeName) { // List<Place.Field> placeFields = Arrays.asList(Place.Field.ID, Place.Field.LAT_LNG); AutocompleteSessionToken token = ...
Carlolong's user avatar
0 votes
1 answer
699 views

Autocomplete Service Issue in Restricted Google API Key for React Native Android App

I've encountered an issue with using the Autocomplete service of the Place API after applying a Google API key restriction to my Android application using Android Restricted Key. When the key ...
rafik's user avatar
  • 67
0 votes
2 answers
157 views

Does the AutocompleteFragment provided by the Places API library has a built-in limitation of displaying fixed number of results?

I am currently using the Place API library to search for nearby shores based on the user's current location. However, I have encountered a limitation with the AutocompleteFragment provided by the ...
oussama's user avatar
0 votes
1 answer
227 views

Does not recognize AutocompleteSupportFragment from places library

Designer tells me unknown fragment, but it seems like im importing the library correctly as import com.google.android.libraries.places.widget.AutocompleteSupportFragment; does not generate error and ...
A...'s user avatar
  • 3

15 30 50 per page
1
2 3 4 5
…
119