I have a jpeg file which has 2D bar code. Image resolution is 1593X1212. I am using xing library to decode this barcode from image. I got following code on net.
This solution works for me. I hope this help you. I replace reader.decode(...) with reader.decodeWithState(...)
reader.decode(...)
reader.decodeWithState(...)
MultiFormatReader reader = new MultiFormatReader();// use this otherwise Result result = reader.decodeWithState(bitmap);