Tested on my phone, it now works and displays debug information.
Shows the format of the barcode scanned and the content dynamically in TextViews.
Also displays a message stating that the barcode has been found using a Toast message.