private void loadImage() { mImageView = (ImageView) findViewById(R.id.imageView); try { URL url = new URL("http://images.csdn.net/20130609/zhuanti.jpg"); mImageView.setImageBitmap(BitmapFactory.decodeStream(url.openStream())); } catch (Exception e) { } }