From 45d760008cddaa1125027edbc8a65b6df86e28f1 Mon Sep 17 00:00:00 2001 From: Dominik Date: Mon, 10 Sep 2012 11:13:32 +0200 Subject: [PATCH] externalized import, export, started working on qr code import --- org_apg/res/layout/import_from_qr_code.xml | 63 ++++ org_apg/res/values/strings.xml | 89 ++--- .../android/apg/ApgApplication.java | 7 + .../src/org/thialfihar/android/apg/Id.java | 2 +- .../android/apg/helper/OtherHelper.java | 28 +- .../android/apg/helper/PGPHelper.java | 40 ++- .../android/apg/helper/PGPMain.java | 4 +- .../android/apg/service/ApgService.java | 121 ++++++- .../android/apg/ui/DecryptActivity.java | 2 +- .../apg/ui/ImportFromQRCodeActivity.java | 144 ++++---- .../android/apg/ui/KeyListActivity.java | 332 ++++++++---------- .../android/apg/ui/MailListActivity.java | 212 ----------- .../android/apg/ui/MainActivity.java | 6 - .../android/apg/ui/SecretKeyListActivity.java | 63 ++-- .../ui/dialog/DeleteKeyDialogFragment.java | 130 +++++++ .../LookupUnknownKeyDialogFragment.java | 133 +++++++ 16 files changed, 815 insertions(+), 561 deletions(-) create mode 100644 org_apg/res/layout/import_from_qr_code.xml delete mode 100644 org_apg/src/org/thialfihar/android/apg/ui/MailListActivity.java create mode 100644 org_apg/src/org/thialfihar/android/apg/ui/dialog/DeleteKeyDialogFragment.java create mode 100644 org_apg/src/org/thialfihar/android/apg/ui/dialog/LookupUnknownKeyDialogFragment.java diff --git a/org_apg/res/layout/import_from_qr_code.xml b/org_apg/res/layout/import_from_qr_code.xml new file mode 100644 index 000000000..54f4355b3 --- /dev/null +++ b/org_apg/res/layout/import_from_qr_code.xml @@ -0,0 +1,63 @@ + + + + + + +