【发布时间】:2011-02-03 17:43:36
【问题描述】:
我正在尝试使用 android 调用 URL
HttpClient mClient= new DefaultHttpClient()
HttpGet get = new HttpGet("www.google.com ");
mClient.execute(get);
HttpResponse res = mClient.execute(get);
但是,我没有得到任何回应。如何在 Android 中调用 URL?
【问题讨论】:
-
第一行缺少分号
;。