摘要:
关键字 widget 阅读全文
posted @ 2015-01-16 16:24
fleam
阅读(116)
评论(0)
推荐(0)
摘要:
package com.example.time;import android.os.Bundle;import android.os.Handler;import android.app.Activity;import android.view.Menu;import android.view.V... 阅读全文
posted @ 2015-01-16 16:02
fleam
阅读(431)
评论(0)
推荐(0)
摘要:
String json=get("http://www.weather.com.cn/data/cityinfo/101010100.html"); JSONObject jsonObject2 =new JSONObject(json); ... 阅读全文
posted @ 2015-01-16 14:14
fleam
阅读(184)
评论(0)
推荐(0)
摘要:
重点是开启网络权限难点是调用函数开启网络权限 读json的函数public static String get(String urlString) { /*try{ HttpGet request = new HttpGet(urlSt... 阅读全文
posted @ 2015-01-16 13:22
fleam
阅读(253)
评论(0)
推荐(0)
摘要:
1、给权限 2、画个按钮 3、读取封装好的函数package com.example.readhtm;import ... 阅读全文
posted @ 2015-01-16 10:38
fleam
阅读(458)
评论(0)
推荐(0)
摘要:
String getInput(){ String str=""; try { URL url = new URL("http://www.baidu.com/"); HttpURLConnection conn... 阅读全文
posted @ 2015-01-16 10:22
fleam
阅读(140)
评论(0)
推荐(0)
浙公网安备 33010602011771号