added settings activity
This commit is contained in:
@@ -13,6 +13,17 @@
|
||||
android:icon="@drawable/ic_action_delete"
|
||||
app:showAsAction="withText" />
|
||||
|
||||
<item android:id="@+id/action_delete"
|
||||
android:title="@string/action_delete"
|
||||
android:icon="@drawable/ic_action_delete"
|
||||
app:showAsAction="withText" />
|
||||
|
||||
<item
|
||||
android:id="@+id/action_settings"
|
||||
android:orderInCategory="100"
|
||||
android:title="@string/action_settings"
|
||||
app:showAsAction="never" />
|
||||
|
||||
<item android:id="@+id/action_help"
|
||||
android:title="@string/action_help"
|
||||
android:icon="@android:drawable/ic_menu_help"
|
||||
|
||||
@@ -37,5 +37,6 @@
|
||||
<b>GIDS Applet</b> <small>(AID A000000397425446590201)</small>\n
|
||||
\n
|
||||
Place your device on a contact-less reader. When the reader issues a SELECT command for one of the application identifiers above, the emulator creates the appropriate applet. The emulated applet will then handle all subsequent APDUs.</string>
|
||||
<string name="action_settings">Settings</string>
|
||||
|
||||
</resources>
|
||||
|
||||
15
ACardEmulator/app/src/main/res/xml/settings.xml
Normal file
15
ACardEmulator/app/src/main/res/xml/settings.xml
Normal file
@@ -0,0 +1,15 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
|
||||
<PreferenceCategory
|
||||
android:title="Java Card Emulator">
|
||||
|
||||
<Preference
|
||||
android:title="NFC System Settings"
|
||||
android:summary="NFC needs to be enabled for emulating a contactless smart card"
|
||||
android:key="nfcSettings">
|
||||
</Preference>
|
||||
|
||||
</PreferenceCategory>
|
||||
|
||||
</PreferenceScreen>
|
||||
Reference in New Issue
Block a user