in app want use google place api nearest places such atm, bus stand etc... returning null result.. url is
and code is::
string data = ""; inputstream istream = null; httpurlconnection urlconnection = null; try{ url url = new url(strurl); urlconnection = (httpurlconnection) url.openconnection(); urlconnection.connect(); istream = urlconnection.getinputstream(); bufferedreader br = new bufferedreader(new inputstreamreader(istream)); stringbuffer sb = new stringbuffer(); string line = ""; while( ( line = br.readline()) != null){ sb.append(line); } data = sb.tostring(); br.close(); }catch(exception e){ log.d("exception while downloading url", e.tostring()); }finally{ istream.close(); urlconnection.disconnect(); } return data;
i hv reffered many links no koi milii....
how can search places specific types using google places api?
finding both "shopping_mall" , "food" within single url google places api
you r using key i.e key android apps.. instead of key browser app.. use dis.. run... gud luck
Comments
Post a Comment