1
![Stack Overflow](http://cdn.sstatic.net/Sites/stackoverflow/img/apple-touch-icon.png)
You should try using this function for decoding the file. This method loads a scaled down version of the bitmap using the inSampleSize variable which reduces the memory consumption.
private Bitmap decodeFile(File f){
Bitmap b = null;
//Decode image size
BitmapFactory.Options o =...