diff options
Diffstat (limited to 'APG-API-Demo/res')
-rw-r--r-- | APG-API-Demo/res/drawable-hdpi/icon.png | bin | 5308 -> 0 bytes | |||
-rw-r--r-- | APG-API-Demo/res/drawable-ldpi/icon.png | bin | 2027 -> 0 bytes | |||
-rw-r--r-- | APG-API-Demo/res/drawable-mdpi/icon.png | bin | 3035 -> 0 bytes | |||
-rw-r--r-- | APG-API-Demo/res/drawable-xhdpi/icon.png | bin | 8165 -> 0 bytes | |||
-rw-r--r-- | APG-API-Demo/res/layout/aidl_demo.xml | 72 | ||||
-rw-r--r-- | APG-API-Demo/res/layout/aidl_demo2.xml | 40 | ||||
-rw-r--r-- | APG-API-Demo/res/layout/content_provider_demo.xml | 33 | ||||
-rw-r--r-- | APG-API-Demo/res/layout/intent_demo.xml | 93 | ||||
-rw-r--r-- | APG-API-Demo/res/xml/base_preference.xml | 23 |
9 files changed, 0 insertions, 261 deletions
diff --git a/APG-API-Demo/res/drawable-hdpi/icon.png b/APG-API-Demo/res/drawable-hdpi/icon.png Binary files differdeleted file mode 100644 index 6b8cc3d73..000000000 --- a/APG-API-Demo/res/drawable-hdpi/icon.png +++ /dev/null diff --git a/APG-API-Demo/res/drawable-ldpi/icon.png b/APG-API-Demo/res/drawable-ldpi/icon.png Binary files differdeleted file mode 100644 index a1adf6bcb..000000000 --- a/APG-API-Demo/res/drawable-ldpi/icon.png +++ /dev/null diff --git a/APG-API-Demo/res/drawable-mdpi/icon.png b/APG-API-Demo/res/drawable-mdpi/icon.png Binary files differdeleted file mode 100644 index 6b10a2ad3..000000000 --- a/APG-API-Demo/res/drawable-mdpi/icon.png +++ /dev/null diff --git a/APG-API-Demo/res/drawable-xhdpi/icon.png b/APG-API-Demo/res/drawable-xhdpi/icon.png Binary files differdeleted file mode 100644 index 03ee31bbd..000000000 --- a/APG-API-Demo/res/drawable-xhdpi/icon.png +++ /dev/null diff --git a/APG-API-Demo/res/layout/aidl_demo.xml b/APG-API-Demo/res/layout/aidl_demo.xml deleted file mode 100644 index 59977869d..000000000 --- a/APG-API-Demo/res/layout/aidl_demo.xml +++ /dev/null @@ -1,72 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<ScrollView xmlns:android="http://schemas.android.com/apk/res/android" - android:layout_width="match_parent" - android:layout_height="wrap_content" > - - <LinearLayout - android:layout_width="match_parent" - android:layout_height="match_parent" - android:orientation="vertical" > - - <Button - android:id="@+id/aidl_demo_create_new_key" - android:layout_width="match_parent" - android:layout_height="wrap_content" - android:onClick="createNewKeyOnClick" - android:text="Create new key" /> - - <Button - android:id="@+id/aidl_demo_select_secret_key" - android:layout_width="match_parent" - android:layout_height="wrap_content" - android:onClick="selectSecretKeyOnClick" - android:text="Select secret key" /> - - <Button - android:id="@+id/aidl_demo_select_encryption_key" - android:layout_width="match_parent" - android:layout_height="wrap_content" - android:onClick="selectEncryptionKeysOnClick" - android:text="Select encryption key(s)" /> - - <EditText - android:id="@+id/aidl_demo_message" - android:layout_width="match_parent" - android:layout_height="150dip" - android:text="message" - android:textAppearance="@android:style/TextAppearance.Small" /> - - <EditText - android:id="@+id/aidl_demo_ciphertext" - android:layout_width="match_parent" - android:layout_height="150dip" - android:text="ciphertext" - android:textAppearance="@android:style/TextAppearance.Small" /> - - <Button - android:id="@+id/aidl_demo_encrypt" - android:layout_width="match_parent" - android:layout_height="wrap_content" - android:onClick="encryptOnClick" - android:text="Encrypt" /> - - <Button - android:id="@+id/aidl_demo_decrypt" - android:layout_width="match_parent" - android:layout_height="wrap_content" - android:onClick="decryptOnClick" - android:text="Decrypt" /> - - <TextView - android:layout_width="match_parent" - android:layout_height="match_parent" - android:text="APG Data:" /> - - <TextView - android:id="@+id/aidl_demo_data" - android:layout_width="match_parent" - android:layout_height="match_parent" - android:minLines="10" /> - </LinearLayout> - -</ScrollView>
\ No newline at end of file diff --git a/APG-API-Demo/res/layout/aidl_demo2.xml b/APG-API-Demo/res/layout/aidl_demo2.xml deleted file mode 100644 index 73abd9b5c..000000000 --- a/APG-API-Demo/res/layout/aidl_demo2.xml +++ /dev/null @@ -1,40 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<ScrollView xmlns:android="http://schemas.android.com/apk/res/android" - android:layout_width="match_parent" - android:layout_height="wrap_content" > - - <LinearLayout - android:layout_width="match_parent" - android:layout_height="wrap_content" - android:orientation="vertical" > - - <Button - android:id="@+id/aidl_demo_select_encryption_key" - android:layout_width="match_parent" - android:layout_height="wrap_content" - android:onClick="selectEncryptionKeysOnClick" - android:text="Select encryption key(s)" /> - - <EditText - android:id="@+id/aidl_demo_keyrings" - android:layout_width="match_parent" - android:layout_height="wrap_content" - android:text="keyrings output" - android:textAppearance="@android:style/TextAppearance.Small" /> - - <Button - android:id="@+id/aidl_demo_get_keyrings_strings" - android:layout_width="match_parent" - android:layout_height="wrap_content" - android:onClick="getKeyringsStringsOnClick" - android:text="getKeyrings as Strings" /> - - <Button - android:id="@+id/aidl_demo_get_keyrings_bytes" - android:layout_width="match_parent" - android:layout_height="wrap_content" - android:onClick="getKeyringsBytesOnClick" - android:text="getKeyringsBytes" /> - </LinearLayout> - -</ScrollView>
\ No newline at end of file diff --git a/APG-API-Demo/res/layout/content_provider_demo.xml b/APG-API-Demo/res/layout/content_provider_demo.xml deleted file mode 100644 index 279324cda..000000000 --- a/APG-API-Demo/res/layout/content_provider_demo.xml +++ /dev/null @@ -1,33 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<ScrollView xmlns:android="http://schemas.android.com/apk/res/android" - android:layout_width="match_parent" - android:layout_height="wrap_content" > - - <LinearLayout - android:layout_width="match_parent" - android:layout_height="wrap_content" - android:orientation="vertical" > - - <Button - android:id="@+id/content_provider_test1" - android:layout_width="match_parent" - android:layout_height="wrap_content" - android:onClick="test1OnClick" - android:text="Test 1" /> - - <Button - android:id="@+id/content_provider_test2" - android:layout_width="match_parent" - android:layout_height="wrap_content" - android:onClick="test2OnClick" - android:text="Test 2" /> - - <EditText - android:id="@+id/content_provider_output" - android:layout_width="match_parent" - android:layout_height="150dip" - android:text="output" - android:textAppearance="@android:style/TextAppearance.Small" /> - </LinearLayout> - -</ScrollView>
\ No newline at end of file diff --git a/APG-API-Demo/res/layout/intent_demo.xml b/APG-API-Demo/res/layout/intent_demo.xml deleted file mode 100644 index a765343f9..000000000 --- a/APG-API-Demo/res/layout/intent_demo.xml +++ /dev/null @@ -1,93 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<ScrollView xmlns:android="http://schemas.android.com/apk/res/android" - android:layout_width="match_parent" - android:layout_height="wrap_content" > - - <LinearLayout - android:layout_width="match_parent" - android:layout_height="match_parent" - android:orientation="vertical" > - - <Button - android:id="@+id/Button02" - android:layout_width="match_parent" - android:layout_height="wrap_content" - android:onClick="encryptOnClick" - android:text="Encrypt" /> - - <Button - android:id="@+id/intent_demo_create_new_key" - android:layout_width="match_parent" - android:layout_height="wrap_content" - android:onClick="createNewKeyOnClick" - android:text="Create new key" /> - - <Button - android:id="@+id/intent_demo_select_secret_key" - android:layout_width="match_parent" - android:layout_height="wrap_content" - android:onClick="selectSecretKeyOnClick" - android:text="Select secret key" /> - - <Button - android:id="@+id/intent_demo_select_encryption_key" - android:layout_width="match_parent" - android:layout_height="wrap_content" - android:onClick="selectEncryptionKeysOnClick" - android:text="Select encryption key(s)" /> - - <EditText - android:id="@+id/intent_demo_message" - android:layout_width="match_parent" - android:layout_height="150dip" - android:text="message" - android:textAppearance="@android:style/TextAppearance.Small" /> - - <EditText - android:id="@+id/intent_demo_ciphertext" - android:layout_width="match_parent" - android:layout_height="150dip" - android:text="ciphertext" - android:textAppearance="@android:style/TextAppearance.Small" /> - - <Button - android:id="@+id/intent_demo_encrypt" - android:layout_width="match_parent" - android:layout_height="wrap_content" - android:onClick="encryptOnClick" - android:text="Encrypt" /> - - <Button - android:id="@+id/intent_demo_encrypt" - android:layout_width="match_parent" - android:layout_height="wrap_content" - android:onClick="encryptAndReturnOnClick" - android:text="Encrypt and return result" /> - - <Button - android:id="@+id/intent_demo_decrypt" - android:layout_width="match_parent" - android:layout_height="wrap_content" - android:onClick="decryptOnClick" - android:text="Decrypt" /> - - <Button - android:id="@+id/intent_demo_decrypt" - android:layout_width="match_parent" - android:layout_height="wrap_content" - android:onClick="decryptAndReturnOnClick" - android:text="Decrypt and return result" /> - - <TextView - android:layout_width="match_parent" - android:layout_height="match_parent" - android:text="APG Data:" /> - - <TextView - android:id="@+id/intent_demo_data" - android:layout_width="match_parent" - android:layout_height="match_parent" - android:minLines="10" /> - </LinearLayout> - -</ScrollView>
\ No newline at end of file diff --git a/APG-API-Demo/res/xml/base_preference.xml b/APG-API-Demo/res/xml/base_preference.xml deleted file mode 100644 index c9a34efd1..000000000 --- a/APG-API-Demo/res/xml/base_preference.xml +++ /dev/null @@ -1,23 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android" > - - <PreferenceCategory android:title="Intent" > - <Preference - android:key="intent_demo" - android:title="Intent Demo" /> - </PreferenceCategory> - <PreferenceCategory android:title="Content Provider" > - <Preference - android:key="content_provider_demo" - android:title="Content Provider Demo" /> - </PreferenceCategory> - <PreferenceCategory android:title="AIDL" > - <Preference - android:key="aidl_demo" - android:title="AIDL Demo (ACCESS_API permission)" /> - <Preference - android:key="aidl_demo2" - android:title="AIDL Demo (ACCESS_KEYS permission)" /> - </PreferenceCategory> - -</PreferenceScreen>
\ No newline at end of file |