摘要:
获取天气的链接地址根据经纬度获取:http://www.google.com/ig/api?weather=,,,31174165,121433841【如中山的经纬度是:22.516997123628076,113.39263916015625 必须都乘以1000000才能作为参数】int a=(int)22.516997123628076*1000000;int b=(int)113.39263916015625*1000000;String strUrl ="http://www.google.com/ig/api?hl=zh-cn&weather=,,,"+a 阅读全文