次のコードでは、URL からデータを解析できません
try{
HttpClient client= new DefaultHttpClient();
HttpGet http= new HttpGet("http://api.androidhive.info/contacts/");
HttpResponse response = client.execute(http);
HttpEntity httpentity = response.getEntity();
is= httpentity.getContent();
}catch (ClientProtocolException e) {
// TODO Auto-generated catch block
e.printStackTrace();
} catch (IOException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}