I know why OutOfMemoryError Exception occurs.But there are any best way to convert byte array to Bitmap.And I used below code ,But when large byte it force close app and giv
You probably have to use this following method (DOC, same method, but with the options parameter):
public static Bitmap decodeByteArray (byte[] data, int offset, int length, BitmapFactory.Options opts)
And play with the options parameter. Hope this will help you =)