public void grabURL("String url) {
     new GrabURL().execute(url);
    }
    
    private class GrabURL extends AsyncTask<String, Void, Void> {
     private final HttpClient Client = new DefaultHttpClient();
     private String Content;
     private String Error = null;
    
     protected void onPreExecute() {

    
     }

protected Void doInBackground(String... url) {
try {
HttpGet httpget = new HttpGet(url[0]);
ResponseHandler<String> responseHandler = new BasicResponseHandler();
Content = Client.execute(httpget, responseHandler);
} catch (ClientProtocolException e) {
Error = e.getMessage();
Log.v("MYYY", "Error");
cancel(true);
} catch (IOException e) {
Error = e.getMessage();
Log.v("MYYY", "Error2");
cancel(true);
}
return null;
}
protected void onPostExecute(Void unused) {
if (Error != null) {
Log.v("MYTEST","Error3");
} else {
Log.v("MYTEST", Content);//, Toast.LENGTH_LONG).show();
}
}
    
    }


소스는 이렇습니다.
Logcat 에서 잡히는 부분은 위쪽의 빨간줄 그어진 'MYYY, Error2' 입니다.
항상 신세만 지고 있어서 혼자서 해봐야지 해도
1시간동안 해결못하고 이러고 있네요


Page Url : http://cartoon.media.daum.net/webtoon/view/mimelasplendens

08-08 16:45:44.357: V/MYYY(15987): Error2: java.net.UnknownHostException: Unable to resolve host "cartoon.media.daum.net": No address associated with hostname