android – Barcode scanner not working 2nd time activity launched

I am building barcode scanning functionality into an app, and have followed this guide: I have a main activity, which launches my QR scanning activity. When I detect a particular uri from the QR code (based on scheme, host and path), I want to end the QR scanning activity, return to my main activity … Read more