摘要: 首先需要在manifest .xml中间中获取相应的权限<uses-permission android:name="android.permission.INTERNET" /><uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />public class HttpExampleActivity extends Activity { private static final String DEBUG_TAG = "HttpEx 阅读全文
posted @ 2012-09-14 21:25 niky 阅读(710) 评论(0) 推荐(0) 编辑
摘要: ** * Utility class for http request. * */ public class Utility { private static RequestParameters mRequestHeader = new RequestParameters(); public static final String BOUNDARY = "7cd4a6d158c"; public static final String MP_BOUNDARY = "--" + BOUNDARY; public static final String EN 阅读全文
posted @ 2012-09-14 08:13 niky 阅读(1749) 评论(0) 推荐(0) 编辑