Project needs, the development needs to load the picture, own to write the picture to download from the net method, also writes the cache, and so on.
Find an open source project on the web, Smartimageview, support to get images from URLs and contacts, can replace Android standard ImageView.
Characteristics:
Loading images based on URL address;
Support for loading images in the address book;
supports asynchronous loading;
Support caching;
This is the author's project homepage, and there are ways to use it. http://loopj.com/android-smart-image-view/
After downloading the author's Jar package import project, add the control in the XML
<com.loopj.android.image.SmartImageView android:id="@+id/my_image" />
The control is found in the code
Smartimageview=()This.f Indviewbyid (.id.my_image);
Using controls
Loading pictures via URLs
myimage.setimageurl ( "http://www.awesomeimages.com/myawesomeimage.jpg" );
load a picture of your contacts
myImage.setImageContact();
GitHub has the source code, you need to see: Https://github.com/loopj/android-smart-image-view
Android Image Open Source view: Smartimageview