The Android Sample Code: learn how to manage bitmap. Memory and Disk cache. Async load image..
BitmapFun is hosted in the following web site
https://github.com/kesenhoo/BitmapFun
If you think the Android project BitmapFun listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
The following table is the detailed list of BitmapFun.
Item | Value |
---|---|
Java File Count | 14 |
Supported screen sizes | [nodpi] |
Target SDK Version | 19 |
Minimum SDK Version | 7 |
Activity Count | 2 |
Fragment Count | 5 |
Required Permissions | android.permission.ACCESS_NETWORK_STATE android.permission.INTERNET android.permission.WRITE_EXTERNAL_STORAGE |
There are 1 image files in BitmapFun. The names of the image files are listed as follows.
empty_photo.png
The following screenshort is generated from the image listed above.
BitmapFun has the following Java source files.
com.example.android.bitmapfun.provider.Images.java com.example.android.bitmapfun.ui.ImageDetailActivity.java com.example.android.bitmapfun.ui.ImageDetailFragment.java com.example.android.bitmapfun.ui.ImageGridActivity.java com.example.android.bitmapfun.ui.ImageGridFragment.java com.example.android.bitmapfun.ui.RecyclingImageView.java com.example.android.bitmapfun.util.AsyncTask.java com.example.android.bitmapfun.util.DiskLruCache.java com.example.android.bitmapfun.util.ImageCache.java com.example.android.bitmapfun.util.ImageFetcher.java com.example.android.bitmapfun.util.ImageResizer.java com.example.android.bitmapfun.util.ImageWorker.java com.example.android.bitmapfun.util.RecyclingBitmapDrawable.java com.example.android.bitmapfun.util.Utils.java