如何在android代码中解析google搜索结果
问题描述:
问候! 什么是解析谷歌搜索的结果,并把这种最常见的方式:如何在android代码中解析google搜索结果
{ "results": [ { "region": "IL", "streetAddress": "1611 South Randall Road", "titleNoFormatting": "Brunswick Zone XL Randall Road", "staticMapUrl": "http://maps.google.com/maps/api/staticmap?maptype=roadmap&format=gif&sensor=false&size=150x100&zoom=13&markers=42.162958,-88.334155", "listingType": "local", "addressLines": [ "1611 South Randall Road", "Algonquin, IL" ], "lng": "-88.334155", "phoneNumbers": [ { "type": "", "number": "(847) 658-2257" } ], "url": "http://www.google.com/maps/place?source=uds&q=brunswick+zone&cid=8286591317090502839", "country": "United States", "city": "Algonquin", "content": "", "GsearchResultClass": "GlocalSearch", "maxAge": 604800, "title": "Brunswick Zone XL Randall" }, ... ] }
成这样:
Name="Brunswick Zone XL Randall Road" Address="1611 South Randall Road" Phone="(847) 658-2257"