Create a button and input box for QR code scanning on smartphones