Scan barcode from an image in gallery android
问题 I'm creating a android project, main feature is scan barcode. I'm tried integrate with Zxing library into my project, and it's work fine. However, it's seems not support scan barcode from an available image in gallery of android devices. How i can do it ? or with other barcode library ? Please help me. Thanks for all answers. 回答1: You could use this class MultiFormatReader from ZXing library. You have to get Gallery image in BitMap and convert it as this: Bitmap bMap = [...]; String contents