1<?xml version="1.0" encoding="UTF-8"?> 2<!-- 3 Copyright 2013 The Android Open Source Project 4 5 Licensed under the Apache License, Version 2.0 (the "License"); 6 you may not use this file except in compliance with the License. 7 You may obtain a copy of the License at 8 9 http://www.apache.org/licenses/LICENSE-2.0 10 11 Unless required by applicable law or agreed to in writing, software 12 distributed under the License is distributed on an "AS IS" BASIS, 13 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 See the License for the specific language governing permissions and 15 limitations under the License. 16--> 17<sample> 18 <name>CardEmulation</name> 19 <group>Connectivity</group> 20 <package>com.example.android.cardemulation</package> 21 22 <!-- change minSdk if needed--> 23 <minSdk>19</minSdk> 24 25 <strings> 26 <intro> 27 <![CDATA[ 28 This sample demonstrates how to emulate an NFC card, using the "host card emulation" 29 feature added in Android 4.4. This sample makes the device appear as a loyalty card 30 whenever the screen is on and the user taps their device on an appropriately configured 31 NFC reader. 32 33 The "CardReader" sample can be used to read the loyalty card implemented in this sample. 34 ]]> 35 </intro> 36 </strings> 37 38 <template src="base"/> 39 <template src="FragmentView"/> 40 <common src="activities"/> 41 <common src="logger"/> 42 43</sample> 44