标签:android style http color io os java sp 文件
============问题描述============
String url = "http://192.168.1.121:9090/shunfengche/requestMes?pageSize="
+ pageSize + "¤tPageNumber=" + currentPageNumber;
HttpClient client = new DefaultHttpClient();
HttpGet get = new HttpGet(url);
//HttpPost post=new HttpPost(url);
try {
HttpResponse response = client.execute(get);
清单文件:<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"></uses-permission> <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/> <uses-permission android:name="android.permission.INTERNET" />
org.apache.http.conn.ConnectTimeoutException: Connect to /192.168.1.121:9090 timed out
============解决方案1============
============解决方案2============
============解决方案3============
============解决方案4============
标签:android style http color io os java sp 文件
原文地址:http://www.cnblogs.com/lianxu61/p/4033834.html