I want to make an application in which the user scans a barcode from a product and then the android phone will show some details about the product (from a database). I have installed ZXing barcode scanner on my android phone which i use for debugging my applications. When i use the ZXing application it scans the barcodes. But when i open the ZXing from my android project with the following code which i found in another post here, it doesn't scan the barcode.I can see the red line in my phone's camera but it doesn't show the green dots that 'read' the barcode.
Calling barcode scanner on a button click in android application
Why could this happen? Thanks in advance