Sample app to scan barcode