摘要:
首先需要在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 阅读全文
摘要:
** * 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 阅读全文