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