Android教程網
  1. 首頁
  2. Android 技術
  3. Android 手機
  4. Android 系統教程
  5. Android 游戲
 Android教程網 >> Android技術 >> 關於Android編程 >> android天氣查詢(二)之網絡json數據的獲取

android天氣查詢(二)之網絡json數據的獲取

編輯:關於Android編程

<span style="font-size:12px">{
	"weatherinfo":{
		<!-- 基本信息 -->
		"city":"北京",
		"city_en":"北京",
		"date_y":"2013年5月14日",
		"date":"",
		"week":"星期一",
		"fchh":"08",
		"cityid":"101010100",
		<!-- 從今天開始到第六天的每天的天氣情況,這裡的溫度是攝氏溫度 -->
		"temp1":"29℃~23℃","temp2":"26℃~20℃","temp3":"24℃~20℃","temp4":"25℃~20℃","temp5":"24℃~21℃","temp6":"25℃~22℃",
		<!-- 從今天開始到第六天的每天的天氣情況,這裡的溫度是華氏溫度 -->
		"tempF1":"84.2℉~73.4℉","tempF2":"78.8℉~68℉","tempF3":"75.2℉~68℉","tempF4":"77℉~68℉","tempF5":"75.2℉~69.8℉","tempF6":"77℉~71.6℉",
		<!-- 天氣描述 -->
		"weather1":"陣雨轉中雨","weather2":"中雨轉小雨","weather3":"小雨","weather4":"小雨","weather5":"小雨轉陣雨","weather6":"陣雨轉小雨",
		<!-- 天氣描述圖片序號 -->
		"img1":"3","img2":"8","img3":"8","img4":"7","img5":"7","img6":"99","img7":"7","img8":"99","img9":"7","img10":"3","img11":"3","img12":"7","img_single":"3",
		<!-- 圖片名稱 -->
		"img_title1":"陣雨","img_title2":"中雨","img_title3":"中雨","img_title4":"小雨","img_title5":"小雨","img_title6":"小雨","img_title7":"小雨","img_title8":"小雨","img_title9":"小雨","img_title10":"陣雨","img_title11":"陣雨","img_title12":"小雨","img_title_single":"陣雨",
		<!-- 風速描述 -->
		"wind1":"微風","wind2":"微風","wind3":"微風","wind4":"微風","wind5":"微風","wind6":"微風","fx1":"微風","fx2":"微風",
		<!-- 風速級別描述 -->
		"fl1":"小於3級","fl2":"小於3級","fl3":"小於3級","fl4":"小於3級","fl5":"小於3級","fl6":"小於3級",
		<!-- 今天穿衣指數 -->
		"index":"熱",
		"index_d":"天氣較熱,建議著短裙、短褲、短套裝、T恤等夏季服裝。年老體弱者宜著長袖襯衫和單褲。",
		<!-- 48小時穿衣指數 -->
		"index48":"暖","index48_d":"較涼爽,建議著長袖襯衫加單褲等春秋過渡裝。年老體弱者宜著針織長袖襯衫、馬甲和長褲。",
		<!-- 紫外線及48小時紫外線 -->
		"index_uv":"弱","index48_uv":"最弱",
		<!-- 洗車 -->
		"index_xc":"不宜",
		<!-- 旅游 -->
		"index_tr":"適宜",、
		<!-- 舒適指數 -->
		"index_co":"較不舒適",
		"st1":"27","st2":"21","st3":"24","st4":"18","st5":"22","st6":"18",
		<!-- 晨練 -->
		"index_cl":"較不宜",
		<!-- 晾曬 -->
		"index_ls":"不太適宜",
		<!-- 過敏 -->
		"index_ag":"不易發"
	}
}</span>

 

  1. 上一頁:
  2. 下一頁:
熱門文章
閱讀排行版
Copyright © Android教程網 All Rights Reserved