Sample code to avoid OutOfMemeoryError in Android due to large size bitmaps