1 Android CardEmulation Sample 2 =================================== 3 4 This sample demonstrates how to emulate an NFC card, using the "host card emulation" 5 feature added in Android 4.4. This sample makes the device appear as a loyalty card 6 whenever the screen is on and the user taps their device on an appropriately configured 7 NFC reader. 8 9 The "CardReader" sample can be used to read the loyalty card implemented in this sample. 10 11 Pre-requisites 12 -------------- 13 14 - Android SDK v21 15 - Android Build Tools v21.1.1 16 - Android Support Repository 17 18 Getting Started 19 --------------- 20 21 This sample uses the Gradle build system. To build this project, use the 22 "gradlew build" command or use "Import Project" in Android Studio. 23 24 Support 25 ------- 26 27 - Google+ Community: https://plus.google.com/communities/105153134372062985968 28 - Stack Overflow: http://stackoverflow.com/questions/tagged/android 29 30 If you've found an error in this sample, please file an issue: 31 https://github.com/googlesamples/android-CardEmulation 32 33 Patches are encouraged, and may be submitted by forking this project and 34 submitting a pull request through GitHub. Please see CONTRIBUTING.md for more details. 35 36 License 37 ------- 38 39 Copyright 2014 The Android Open Source Project, Inc. 40 41 Licensed to the Apache Software Foundation (ASF) under one or more contributor 42 license agreements. See the NOTICE file distributed with this work for 43 additional information regarding copyright ownership. The ASF licenses this 44 file to you under the Apache License, Version 2.0 (the "License"); you may not 45 use this file except in compliance with the License. You may obtain a copy of 46 the License at 47 48 http://www.apache.org/licenses/LICENSE-2.0 49 50 Unless required by applicable law or agreed to in writing, software 51 distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 52 WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the 53 License for the specific language governing permissions and limitations under 54 the License. 55