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