allow scanning vicc configuration with QR code

This commit is contained in:
Frank Morgner
2016-04-15 10:52:44 -04:00
parent 0d1977fc1a
commit c17ab48094
7 changed files with 86 additions and 2 deletions

View File

@@ -47,5 +47,6 @@
<string name="vicc_config_info">If you choose the virtual smart card (VICC) as emulator, you need to start the it on your computer with the `--reversed` flag and configure the connection parameters here accordingly.</string>
<string name="hint_vicc_port">VICC Port</string>
<string name="hint_vicc_hostname">VICC Hostname</string>
<string name="scheme_vicc">vicc</string>
</resources>

View File

@@ -59,6 +59,12 @@
android:data="https://frankmorgner.github.io/vsmartcard/virtualsmartcard/README.html" />
</Preference>
<Preference
android:title="Scan Configuration"
android:summary="Scan QR code to import VICC's hostname and port."
android:key="scan">
</Preference>
<EditTextPreference
android:key="hostname"
android:defaultValue="10.0.2.2"