intent to create a new key

This commit is contained in:
Dominik
2012-04-12 15:23:00 +02:00
parent dfa4e084dd
commit 1a33f4d886
17 changed files with 139 additions and 58 deletions

View File

@@ -9,3 +9,4 @@
# Project target.
target=android-15
android.library.reference.1=../org_apg_integration_lib

View File

@@ -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"

View File

@@ -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();
}