intent to create a new key
This commit is contained in:
Binary file not shown.
@@ -9,3 +9,4 @@
|
||||
|
||||
# Project target.
|
||||
target=android-15
|
||||
android.library.reference.1=../org_apg_integration_lib
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user