diff --git a/wpadebug/AndroidManifest.xml b/wpadebug/AndroidManifest.xml
index 6c7157af5..3c8b9b988 100644
--- a/wpadebug/AndroidManifest.xml
+++ b/wpadebug/AndroidManifest.xml
@@ -59,6 +59,11 @@
android:label="Input URI"
android:parentActivityName="w1.fi.wpadebug.MainActivity">
+
+
0) {
+ Log.e(TAG, "Number of cameras found: " + numberOfCameras);
+ Intent QrCodeScanIntent = new Intent(QrCodeReadActivity.this,
+ QrCodeScannerActivity.class);
+ QrCodeReadActivity.this.startActivity(QrCodeScanIntent);
+ finish();
+ } else {
+ Log.e(TAG, "No cameras found, input the QR Code");
+ Intent QrCodeInputIntent = new Intent(QrCodeReadActivity.this,
+ InputUri.class);
+ QrCodeReadActivity.this.startActivity(QrCodeInputIntent);
+ finish();
+ }
+ }
+}