aboutsummaryrefslogtreecommitdiffstats
path: root/OpenPGP-Keychain-API/example-app/src/main/res/xml
diff options
context:
space:
mode:
Diffstat (limited to 'OpenPGP-Keychain-API/example-app/src/main/res/xml')
-rw-r--r--OpenPGP-Keychain-API/example-app/src/main/res/xml/base_preference.xml15
-rw-r--r--OpenPGP-Keychain-API/example-app/src/main/res/xml/intent_preference.xml30
2 files changed, 35 insertions, 10 deletions
diff --git a/OpenPGP-Keychain-API/example-app/src/main/res/xml/base_preference.xml b/OpenPGP-Keychain-API/example-app/src/main/res/xml/base_preference.xml
index 5febfad44..b38e07a36 100644
--- a/OpenPGP-Keychain-API/example-app/src/main/res/xml/base_preference.xml
+++ b/OpenPGP-Keychain-API/example-app/src/main/res/xml/base_preference.xml
@@ -1,23 +1,18 @@
<?xml version="1.0" encoding="utf-8"?>
-<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android" >
+<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android">
- <PreferenceCategory android:title="Intent" >
+ <PreferenceCategory android:title="OpenKeychain Intents">
<Preference
android:key="intent_demo"
android:title="Intent Demo" />
</PreferenceCategory>
- <!-- <PreferenceCategory android:title="AIDL" > -->
- <!-- <Preference -->
- <!-- android:key="aidl_demo2" -->
- <!-- android:title="AIDL Demo (ACCESS_KEYS permission)" /> -->
- <!-- </PreferenceCategory> -->
- <PreferenceCategory android:title="OpenPGP Provider" >
- <org.openintents.openpgp.OpenPgpListPreference
+ <PreferenceCategory android:title="OpenPGP Provider API">
+ <org.openintents.openpgp.util.OpenPgpListPreference
android:key="openpgp_provider_list"
android:title="Select OpenPGP Provider!" />
<Preference
android:key="openpgp_provider_demo"
- android:title="OpenPGP Provider" />
+ android:title="OpenPGP Provider Demo" />
</PreferenceCategory>
</PreferenceScreen> \ No newline at end of file
diff --git a/OpenPGP-Keychain-API/example-app/src/main/res/xml/intent_preference.xml b/OpenPGP-Keychain-API/example-app/src/main/res/xml/intent_preference.xml
new file mode 100644
index 000000000..801e4a78a
--- /dev/null
+++ b/OpenPGP-Keychain-API/example-app/src/main/res/xml/intent_preference.xml
@@ -0,0 +1,30 @@
+<?xml version="1.0" encoding="utf-8"?>
+<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android">
+
+ <PreferenceCategory android:title="Intents (org.sufficientlysecure.keychain.action.)">
+ <Preference
+ android:key="ENCRYPT"
+ android:title="ENCRYPT" />
+ <Preference
+ android:key="ENCRYPT_URI"
+ android:title="ENCRYPT with Uri" />
+ <Preference
+ android:key="DECRYPT"
+ android:title="DECRYPT" />
+ <Preference
+ android:key="IMPORT_KEY"
+ android:title="IMPORT_KEY" />
+ <Preference
+ android:key="IMPORT_KEY_FROM_KEYSERVER"
+ android:title="IMPORT_KEY_FROM_KEYSERVER" />
+ <Preference
+ android:key="IMPORT_KEY_FROM_QR_CODE"
+ android:title="IMPORT_KEY_FROM_QR_CODE" />
+ </PreferenceCategory>
+ <PreferenceCategory android:title="Special Intents">
+ <Preference
+ android:key="openpgp4fpr"
+ android:title="VIEW openpgp4fpr:73EE2314F65FA92EC2390D3A718C070100012282" />
+ </PreferenceCategory>
+
+</PreferenceScreen> \ No newline at end of file