It always throws me an exception saying :
java.net.UnknownHostException: Unable to resolve host "maps.googleapis.com": 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.