0
votes

I am trying to get Google Address by Reverse Geocoding by placeId not by LatLng.

Though I found its web-service -https://developers.google.com/maps/documentation/geocoding/intro#ReverseGeocoding

but in android, Geocoder does not have any function which can give me address by accepting placeId. I am using 10.0.1 version of google play services location library.

1
It is there Reverse Geocoding for a Place ID with url that url has to call using webservice(api) and you can get address in response. - Nitin Patel
This is what I am saying, they have provided webservice but not added in google play services library for android as they are providing for latlng. - Arushi Jain
this is again api calling from web which needs mapping of json to address class if implemented in android and it seems to be difficult if you see the json response. - Arushi Jain
You have difficulty with json. It's easy. - Nitin Patel

1 Answers

-1
votes

You can get all the details about a place by using place_id with below api

https://maps.googleapis.com/maps/api/place/details/json?placeid=ChIJN1t_tDeuEmsRUsoyG83frY4&key=YOUR_API_KEY

put your place_id and Api_key and you will get the result