HTML 불러오기

|
HttpClient httpclient = new DefaultHttpClient();
HttpGet httpGet = new HttpGet();
httpGet.setURI(new URI("http://주소"));
HttpResponse response = httpclient.execute(httpGet);
HttpEntity httpEntity = response.getEntity();

String html =  EntityUtils.toString(httpEntity);

'Android' 카테고리의 다른 글

화면 상태  (0) 2011.09.06
Vibrator (진동)  (0) 2011.08.12
Broadcast에서 동일한 Activity를 복수로 호출  (0) 2011.06.08
wifi ON/OFF  (0) 2011.06.08
Activity 생애주기  (0) 2011.03.16
And