diff options
Diffstat (limited to 'org_apg_integration_demo')
-rw-r--r-- | org_apg_integration_demo/libs/org_apg_integration_lib.jar | bin | 8258 -> 0 bytes | |||
-rw-r--r-- | org_apg_integration_demo/project.properties | 1 | ||||
-rw-r--r-- | org_apg_integration_demo/res/layout/intent_demo.xml | 7 | ||||
-rw-r--r-- | org_apg_integration_demo/src/org/apg/api_demo/IntentDemoActivity.java | 5 |
4 files changed, 13 insertions, 0 deletions
diff --git a/org_apg_integration_demo/libs/org_apg_integration_lib.jar b/org_apg_integration_demo/libs/org_apg_integration_lib.jar Binary files differdeleted file mode 100644 index 43bcec37b..000000000 --- a/org_apg_integration_demo/libs/org_apg_integration_lib.jar +++ /dev/null diff --git a/org_apg_integration_demo/project.properties b/org_apg_integration_demo/project.properties index 8da376af8..8abe35df9 100644 --- a/org_apg_integration_demo/project.properties +++ b/org_apg_integration_demo/project.properties @@ -9,3 +9,4 @@ # Project target. target=android-15 +android.library.reference.1=../org_apg_integration_lib diff --git a/org_apg_integration_demo/res/layout/intent_demo.xml b/org_apg_integration_demo/res/layout/intent_demo.xml index 825a198b5..8d01b5a8b 100644 --- a/org_apg_integration_demo/res/layout/intent_demo.xml +++ b/org_apg_integration_demo/res/layout/intent_demo.xml @@ -7,6 +7,13 @@ android:layout_width="match_parent" android:layout_height="match_parent" android:orientation="vertical" > + + <Button + android:id="@+id/intent_demo_create_new_key" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:onClick="intentDemoCreateNewKeyOnClick" + android:text="Create new key" /> <Button android:id="@+id/intent_demo_select_secret_key" diff --git a/org_apg_integration_demo/src/org/apg/api_demo/IntentDemoActivity.java b/org_apg_integration_demo/src/org/apg/api_demo/IntentDemoActivity.java index d5b9fd5f8..9eff95faf 100644 --- a/org_apg_integration_demo/src/org/apg/api_demo/IntentDemoActivity.java +++ b/org_apg_integration_demo/src/org/apg/api_demo/IntentDemoActivity.java @@ -54,6 +54,11 @@ public class IntentDemoActivity extends Activity { mApgData = new ApgData(); } + public void intentDemoCreateNewKeyOnClick(View view) { + // mApgIntentHelper.createNewKey(); + mApgIntentHelper.createNewKey("dom <+491716581452@cryptocall.org>"); + } + public void intentDemoSelectSecretKeyOnClick(View view) { mApgIntentHelper.selectSecretKey(); } |