aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--OpenPGP-Keychain/src/org/sufficientlysecure/keychain/util/QrCodeUtils.java49
1 files changed, 0 insertions, 49 deletions
diff --git a/OpenPGP-Keychain/src/org/sufficientlysecure/keychain/util/QrCodeUtils.java b/OpenPGP-Keychain/src/org/sufficientlysecure/keychain/util/QrCodeUtils.java
index ded2a2f2b..9e8118e7a 100644
--- a/OpenPGP-Keychain/src/org/sufficientlysecure/keychain/util/QrCodeUtils.java
+++ b/OpenPGP-Keychain/src/org/sufficientlysecure/keychain/util/QrCodeUtils.java
@@ -69,53 +69,4 @@ public class QrCodeUtils {
}
}
- /**
- * Displays QrCode in Dialog
- */
- // public static void showQrCode(Activity activity, Bitmap qrCodeBitmap) {
- // final Dialog dialog = new Dialog(activity);
- // dialog.requestWindowFeature(Window.FEATURE_NO_TITLE);
- // dialog.setContentView(R.layout.qr_code_dialog);
- // final ImageView imageView = (ImageView) dialog.findViewById(R.id.qr_dialog_view);
- // imageView.setImageBitmap(qrCodeBitmap);
- // dialog.setCanceledOnTouchOutside(true);
- // dialog.show();
- // imageView.setOnClickListener(new OnClickListener() {
- // public void onClick(final View v) {
- // dialog.dismiss();
- // }
- // });
- // }
-
- /**
- * Starts Scanning of Barcode with Barcode Scanner App, if Barcode Scanner is not installed
- * requests install of it, done by using IntentIntegrator from Barcode Scanner
- *
- * @param activity
- */
- // public static void scanQrCode(Activity activity) {
- // IntentIntegrator.initiateScan(activity, R.string.no_barcode_scanner_title,
- // R.string.no_barcode_scanner, R.string.button_yes, R.string.button_no);
- // }
- //
- // /**
- // * Return scanned QR Code as String, must be used in Activities onActivityResult(), done by
- // * using IntentIntegrator from Barcode Scanner
- // *
- // * @param requestCode
- // * @param resultCode
- // * @param intent
- // * @return QR Code content as String
- // */
- // public static String returnQrCodeOnActivityResult(int requestCode, int resultCode, Intent
- // intent) {
- // IntentResult scanResult = IntentIntegrator.parseActivityResult(requestCode, resultCode,
- // intent);
- //
- // if (scanResult != null) {
- // return scanResult.getContents();
- // } else {
- // return null;
- // }
- // }
}