随笔分类 -  Android

[android] Http Post 请求
摘要:设置常量1 /**2 * 建立连接的超时值3 */4 public static final int HTTP_CONNECTION_TIMEOUT = 6 * 1000;5 /**6 * 读超时的超时值7 */8 public static final int HTTP_READ_TIMEOUT = 25 * 1000;9 public static final String UTF_8 = "UTF-8";httpPostRequest 函数 1 /** 2 * Http Post 请求 3 * 4 * @param requestUrl 5 * 请求地址 6 * @p 阅读全文
posted @ 2014-01-08 15:05 cafetree 阅读(629) 评论(0) 推荐(0)