Android -OutofMemory error- bitmap factory -
my code.. mimageview_photos.setimagebitmap(bitmapfactory.decodefile(picturepath)); my logcat.. 11-27 10:51:56.325: e/androidruntime(3879): fatal exception: main 11-27 10:51:56.325: e/androidruntime(3879): process: com.virtualmaze.golfelite, pid: 3879 11-27 10:51:56.325: e/androidruntime(3879): java.lang.outofmemoryerror 11-27 10:51:56.325: e/androidruntime(3879): @ android.graphics.bitmapfactory.nativedecodestream(native method) 11-27 10:51:56.325: e/androidruntime(3879): @ android.graphics.bitmapfactory.decodestreaminternal(bitmapfactory.java:620) 11-27 10:51:56.325: e/androidruntime(3879): @ android.graphics.bitmapfactory.decodestream(bitmapfactory.java:596) 11-27 10:51:56.325: e/androidruntime(3879): @ android.graphics.bitmapfactory.decodefile(bitmapfactory.java:376) 11-27 10:51:56.325: e/androidruntime(3879): @ android.graphics.bitmapfactory.decodefile(bitmapfactory.java:402) 11-27 10:51:56.325: e/androidruntime(3879): @ com.virtualmaze.golfelite.h...