Google Place API for Android to Find City

I have seen the tutorial to find the city using autocomplete text view in android.i have done everything that is instructed but now when I hit this url.

It always throws me an exception saying : Unable to resolve host "": No address associated with hostname

but the same url work fine when i hit through browser and i am getting the results also.

Here is the code I’m hitting with :

oops! sorry guys. I have found the solution that was a silly mistake.I had not defined the INTERNET permission in the manifest.


Read Also:  How to remove index.php from URLs in Joomla

Leave a Reply

Your email address will not be published. Required fields are marked *