随笔分类 - 实习笔记
摘要://读取配置文件获取name InputStream inputStream = new FileInputStream("config.properties"); Properties properties = new Properties(); properties.load(inputStre
阅读全文
摘要:1.一般步骤: 1.创建链接: DefaultHttpClient httpClient = new DefaultHttpClient(); 2.创建请求: HttpPost post = new HttpPost(URL); 3.设置参数: post.setEntity(new StringEn
阅读全文
摘要:3.2 JSON解析 3.2.1 Json数据: { "paramz": { "feeds": [ { "id": 299076, "oid": 288340, "category": "article", "data": { "subject": "荔枝新闻3.0:不止是阅读", "summary
阅读全文