Reader reader=null;
Result result = null;
BinaryBitmap bitmap=null;
int width = bMap.getWidth();
int height = bMap.getHeight();
int[] intArray = new int[width * height];
bMap.getPixels(intArray, 0, width, 0, 0, width, height);
RGBLuminanceSource source = new RGBLuminanceSource(width, height, intArray);
bitmap = new BinaryBitmap(new HybridBinarizer(source));
reader = new MultiFormatReader();
result = reader.decode(bitmap);
The Problem is that BinaryBitmap is showing "object have been collected cannot evaluat com.google.zxing.common.BitMatrix.tostring" that's the reason my result showing everytime null value.can anybody have any idea about it??