이미지 받아오는 테스트 작성하던중에 이상한점을 발견해서.. 문의드려요...


아래와같은 소스에서 AndroidHttpClient 를 사용하면 에러가발생하고,

HttpClient 를 사용하면 정상적으로 이미지를 잘받아오는데요.. 도대체 원인을 모르겟네요..

이미지는 그냥 String으로 블로그에서 다운되는 사진을 넣었는데;;;

도와주세요!!


  AndroidHttpClient client = AndroidHttpClient.newInstance("android");
//         AndroidHttpClient client = new AndroidHttpClient("sd");
//         HttpClient client = new DefaultHttpClient();
        Bitmap bitmap = null;
        try {
HttpResponse response = client.execute(getRequest);
HttpEntity entity = response.getEntity();
bitmap = BitmapFactory.decodeStream(entity.getContent());
        } catch (IOException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
       ImageView view = (ImageView) findViewById(R.id.imageView1);
       view.setImageBitmap(bitmap);