This is a sample app demonstrating the use of barcode detection API as provided in the google play services , but with an addition functionality of detecting the barcode without any user interaction.
User can turn on the Auto Detect switch in the main activity and first detected barcode will be returned automatically. Above project can be used for enhancing UI/UX.