All Questions
Tagged with google-places-api android-studio
81
questions
0
votes
0
answers
75
views
AndroidStudio - Apps built on ARM processors are functionally different from Intel with same codebase
This week I received a new work laptop MBP M3 Pro. I have been using a MBP i7 for the last few years. I am currently working on a project that completely works when ran from the Intel machine but does ...
0
votes
2
answers
1k
views
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. ...
0
votes
0
answers
75
views
how to find near places with json api (with a non google-places-api service)
I am working on a android app project that tells nearby places with json api (non-google service).
I am stuck at a error that gives,
Attempt to invoke interface method 'int java.util.List.size()' on a ...
-1
votes
2
answers
327
views
Can not get places data from google map in android
I want to show the list of nearby hospitals, but I cannot get the data from Google Maps.
(But when I use the API key of the user from where I have learned to display the map in android, I am able to ...
0
votes
2
answers
464
views
Why Line by line execution does not happen in Android Studio?
I have created a Place[] type array p to store the place obtained through fetchPlace() method. I have just shown the some lines code of a function which I have to call. But when I call this function ...
0
votes
1
answer
164
views
How to implement autocomplete google place api in toolbar - Android
I am implementing a restaurant based application in which I am typing place name in toolbar
I am not able to implement autocomplete feature in App toolbar..... Please help
menu xml code
<?xml ...
1
vote
0
answers
629
views
google places api: placesClient.findAutocompletePredictions returns task unsuccessful
i used placesClient.findAutocompletePredictions to return location suggestions to set them my search bar, but when i use this functions below, task is always insuccessul why is that, is it from the ...
0
votes
1
answer
831
views
Strange error in android studio, nothing similar online and no idea of the cause
I am a new android developer, and every time I try to run the emulator to test my app I get the following error:
2020-08-05 15:08:30.625 8361-8361/com.example.tender E/AndroidRuntime: FATAL EXCEPTION: ...
7
votes
1
answer
5k
views
Places API not working. Error: You must enable Billing on the Google Cloud Project
I have an Android app where I display nearby places like gas stations, pharmacies, etc. using Google Map. I am using Maps & Places API.
https://maps.googleapis.com/maps/api/place/nearbysearch/json?...
0
votes
0
answers
38
views
In AutocompleteSupportFragment want show only airport suggestion?
final AutocompleteSupportFragment destination_autocomplete =
(AutocompleteSupportFragment) getSupportFragmentManager().findFragmentById(R.id.etxt_des_addressnew);
...
1
vote
1
answer
213
views
Can't find Car-repair/garage/motor shops while using Google Places API in Android Studio
public void onMapReady(GoogleMap googleMap) {
mMap = googleMap;
if (ContextCompat.checkSelfPermission(this, Manifest.permission.ACCESS_FINE_LOCATION) == PackageManager....
-1
votes
1
answer
78
views
How do I get a value from such a JSON Response
This is What i get as a response from the PlacesApi after making a request.
But the issue is that i cant get the value of "photo_reference".
The issue is also the Objects being in Arrays and all , the ...
0
votes
1
answer
3k
views
Kotlin Android Places API Autocomplete
thanks for looking by. As the title suggests I'm facing a rather "weird" issue in my current Kotlin project. In my Application the user can click on a button (or textinput working as a button) and ...
0
votes
1
answer
162
views
Android Studio - Parsing JSON from Google Places Details API Phone Number giving null on first run
Bit of a strange issue here. Currently I have an activity which gets the names and place ids of all the taxi companies using Google Places Search API and places them into a list view. Then when the ...
-2
votes
1
answer
38
views
ZERO_RESULTS in Retrieving the place type of a veterinary_care and pet_store Android Studio
I've been working on this Google Places search and usually I get results well but recently I cannot get anything but a ZERO_RESULTS for veterinary_care and pet_store but hospital works well.
Why does ...