【发布时间】:2013-08-20 04:26:19
【问题描述】:
从 android 模拟器向我的本地 wamp 服务器发出 http 请求时,出现上述错误。
// testing on Emulator:
private static final String LOGIN_URL="http:// 10.0.2.2:80/webservice/login.php";
//request:
JSONObject json = jsonParser.makeHttpRequest(LOGIN_URL, "POST", params);
【问题讨论】:
标签: java android android-emulator wampserver