Sample code to avoid OutOfMemeoryError in Android due to large size bitmaps.
BitmapHandlingDemo is hosted in the following web site
https://github.com/shailendra123/BitmapHandlingDemo
If you think the Android project BitmapHandlingDemo 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 BitmapHandlingDemo.
Item | Value |
---|---|
Java File Count | 1 |
Supported screen sizes | [xhdpi] |
Target SDK Version | 19 |
Minimum SDK Version | 8 |
Activity Count | 1 |
jar files used | android-support-v4.jar |
Required Permissions | android.permission.READ_EXTERNAL_STORAGE android.permission.WRITE_EXTERNAL_STORAGE |
BitmapHandlingDemo has the following Java source files.
com.shailendra.bitmaphandlingdemo.MainActivity.java