From 8b244b00098fe57bdee4a88b5878de9ca72825c2 Mon Sep 17 00:00:00 2001 From: Anurag Das Date: Wed, 21 Feb 2018 18:05:33 +0530 Subject: [PATCH] wpadebug: A dialog activity to input the URI from QR Code Scanner This should help to read the URI from the QR Code Scanner's (USB HID devices instead of USB video device) that decodes the QR Code. This dialog box provisions the mechanism to enter the decoded URI code from such hardware devices. This dialog can be used with: am start -n w1.fi.wpadebug/w1.fi.wpadebug.InputUri Signed-off-by: Jouni Malinen --- wpadebug/AndroidManifest.xml | 5 ++ wpadebug/res/layout/input_uri.xml | 26 +++++++ wpadebug/src/w1/fi/wpadebug/InputUri.java | 84 +++++++++++++++++++++++ 3 files changed, 115 insertions(+) create mode 100644 wpadebug/res/layout/input_uri.xml create mode 100644 wpadebug/src/w1/fi/wpadebug/InputUri.java diff --git a/wpadebug/AndroidManifest.xml b/wpadebug/AndroidManifest.xml index f72a65369..6c7157af5 100644 --- a/wpadebug/AndroidManifest.xml +++ b/wpadebug/AndroidManifest.xml @@ -54,6 +54,11 @@ android:label="QR Code Display" android:parentActivityName="w1.fi.wpadebug.MainActivity"> + + + + + + + +