fix typo in caption and XML spacing
Change-Id: I28adb9e6b5fb96f9f25a62766a197bb0a06bfdd0
This commit is contained in:
@@ -70,7 +70,7 @@ protocol frames to a secure element. Figure 2 illustrates how host-based card em
|
||||
works.</p>
|
||||
|
||||
<img src="{@docRoot}images/nfc/host-based-card.png" />
|
||||
<p class="img-caption"><strong>Figure 2.</strong> NFC card emulation with a secure element.</p>
|
||||
<p class="img-caption"><strong>Figure 2.</strong> NFC card emulation without a secure element.</p>
|
||||
|
||||
|
||||
<h2 id="SupportedProtocols">Supported NFC Cards and Protocols</h2>
|
||||
@@ -288,12 +288,12 @@ enforces that only the Android OS can bind to your service. </p>
|
||||
|
||||
<pre>
|
||||
<service android:name=".MyHostApduService" android:exported="true"
|
||||
android:permission="android.permission.BIND_NFC_SERVICE">
|
||||
android:permission="android.permission.BIND_NFC_SERVICE">
|
||||
<intent-filter>
|
||||
<action android:name="android.nfc.cardemulation.action.HOST_APDU_SERVICE"/>
|
||||
</intent-filter>
|
||||
<meta-data android:name="android.nfc.cardemulation.host_apdu_service"
|
||||
android:resource="@xml/apduservice"/>
|
||||
android:resource="@xml/apduservice"/>
|
||||
</service>
|
||||
</pre>
|
||||
|
||||
@@ -306,7 +306,7 @@ below:</p>
|
||||
android:description="@string/servicedesc"
|
||||
android:requireDeviceUnlock="false">
|
||||
<aid-group android:description="@string/aiddescription"
|
||||
android:category="other">
|
||||
android:category="other">
|
||||
<aid-filter android:name="F0010203040506"/>
|
||||
<aid-filter android:name="F0394148148100"/>
|
||||
</aid-group>
|
||||
@@ -381,14 +381,14 @@ shown below:</p>
|
||||
|
||||
<pre>
|
||||
<host-apdu-service xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:description="@string/servicedesc"
|
||||
android:requireDeviceUnlock="false"
|
||||
android:apduServiceBanner="@drawable/my_banner">
|
||||
<aid-group android:description="@string/aiddescription"
|
||||
android:category="payment">
|
||||
<aid-filter android:name="F0010203040506"/>
|
||||
<aid-filter android:name="F0394148148100"/>
|
||||
</aid-group>
|
||||
android:description="@string/servicedesc"
|
||||
android:requireDeviceUnlock="false"
|
||||
android:apduServiceBanner="@drawable/my_banner">
|
||||
<aid-group android:description="@string/aiddescription"
|
||||
android:category="payment">
|
||||
<aid-filter android:name="F0010203040506"/>
|
||||
<aid-filter android:name="F0394148148100"/>
|
||||
</aid-group>
|
||||
</host-apdu-service>
|
||||
</pre>
|
||||
|
||||
@@ -478,12 +478,12 @@ almost identical to the declaration of a HCE service. The exceptions are:</p>
|
||||
|
||||
<pre>
|
||||
<service android:name=".MyOffHostApduService" android:exported="true"
|
||||
android:permission="android.permission.BIND_NFC_SERVICE">
|
||||
android:permission="android.permission.BIND_NFC_SERVICE">
|
||||
<intent-filter>
|
||||
<action android:name="android.nfc.cardemulation.action.OFF_HOST_APDU_SERVICE"/>
|
||||
</intent-filter>
|
||||
<meta-data android:name="android.nfc.cardemulation.off_host_apdu_ervice"
|
||||
android:resource="@xml/apduservice"/>
|
||||
android:resource="@xml/apduservice"/>
|
||||
</service>
|
||||
</pre>
|
||||
</li>
|
||||
|
||||
Reference in New Issue
Block a user