Using Google Places API in Android

Viewed 37061

I am trying to develop an app which can display the schools and airports in the locality. I found that using Google Places API is the way to go.

I have seen the documentation here... Can anyone explain how to use the API?

5 Answers

Google places API which was provided as part of google play services is deprecated. Google provided new version of Places SDK for android.

The new version doesn't support place picker. You can migrate old code in your app to new version by following instructions documented here https://developers.google.com/places/android-sdk/client-migration

With new version, you can specify filters for results and fields to be present in the response. See below tutorial with examples to know how to use new places sdk for android, http://www.zoftino.com/google-places-sdk-for-android-tutorial

Related