CardEmulation

所属分类:android开发
开发工具:Java
文件大小:615KB
下载次数:12
上传日期:2018-03-24 14:16:17
上 传 者清来
说明:  android 支持nfc的手机,主机模拟卡模式
(Android NFC Card Simulate,)

文件列表:
CardEmulation\.idea\compiler.xml (686, 2017-08-18)
CardEmulation\.idea\copyright\profiles_settings.xml (76, 2017-08-18)
CardEmulation\.idea\gradle.xml (449, 2017-08-18)
CardEmulation\.idea\misc.xml (1647, 2017-08-18)
CardEmulation\.idea\modules.xml (266, 2017-08-18)
CardEmulation\.idea\runConfigurations.xml (564, 2017-08-18)
CardEmulation\.idea\workspace.xml (28559, 2018-03-06)
CardEmulation\Application\build.gradle (1204, 2015-04-22)
CardEmulation\Application\src\main\AndroidManifest.xml (2547, 2015-04-22)
CardEmulation\Application\src\main\java\com\example\android\cardemulation\AccountStorage.java (2128, 2015-04-22)
CardEmulation\Application\src\main\java\com\example\android\cardemulation\CardEmulationFragment.java (2336, 2015-04-22)
CardEmulation\Application\src\main\java\com\example\android\cardemulation\CardService.java (7704, 2015-04-22)
CardEmulation\Application\src\main\java\com\example\android\cardemulation\MainActivity.java (4062, 2015-04-22)
CardEmulation\Application\src\main\java\com\example\android\common\activities\SampleActivityBase.java (1615, 2015-04-22)
CardEmulation\Application\src\main\java\com\example\android\common\logger\Log.java (8434, 2015-04-22)
CardEmulation\Application\src\main\java\com\example\android\common\logger\LogFragment.java (3887, 2015-04-22)
CardEmulation\Application\src\main\java\com\example\android\common\logger\LogNode.java (1809, 2015-04-22)
CardEmulation\Application\src\main\java\com\example\android\common\logger\LogView.java (5119, 2015-04-22)
CardEmulation\Application\src\main\java\com\example\android\common\logger\LogWrapper.java (2769, 2015-04-22)
CardEmulation\Application\src\main\java\com\example\android\common\logger\MessageOnlyLogFilter.java (1699, 2015-04-22)
CardEmulation\Application\src\main\res\drawable-hdpi\ic_launcher.png (4720, 2015-04-22)
CardEmulation\Application\src\main\res\drawable-hdpi\tile.9.png (196, 2015-04-22)
CardEmulation\Application\src\main\res\drawable-mdpi\ic_launcher.png (2805, 2015-04-22)
CardEmulation\Application\src\main\res\drawable-xhdpi\ic_launcher.png (6850, 2015-04-22)
CardEmulation\Application\src\main\res\drawable-xxhdpi\card_background.png (504418, 2015-04-22)
CardEmulation\Application\src\main\res\drawable-xxhdpi\ic_launcher.png (12603, 2015-04-22)
CardEmulation\Application\src\main\res\layout\activity_main.xml (2382, 2015-04-22)
CardEmulation\Application\src\main\res\layout\main_fragment.xml (2390, 2015-04-22)
CardEmulation\Application\src\main\res\layout-w720dp\activity_main.xml (2597, 2015-04-22)
CardEmulation\Application\src\main\res\menu\main.xml (815, 2015-04-22)
CardEmulation\Application\src\main\res\values\base-strings.xml (1247, 2015-04-22)
CardEmulation\Application\src\main\res\values\fragmentview_strings.xml (732, 2015-04-22)
CardEmulation\Application\src\main\res\values\strings.xml (829, 2015-04-22)
CardEmulation\Application\src\main\res\values\template-dimens.xml (1107, 2015-04-22)
CardEmulation\Application\src\main\res\values\template-styles.xml (1363, 2015-04-22)
CardEmulation\Application\src\main\res\values-sw600dp\template-dimens.xml (802, 2015-04-22)
CardEmulation\Application\src\main\res\values-sw600dp\template-styles.xml (876, 2015-04-22)
CardEmulation\Application\src\main\res\values-v11\template-styles.xml (726, 2015-04-22)
CardEmulation\Application\src\main\res\values-v21\base-colors.xml (657, 2015-04-22)
CardEmulation\Application\src\main\res\values-v21\base-template-styles.xml (767, 2015-04-22)
... ...

Android CardEmulation Sample =================================== This sample demonstrates how to emulate an NFC card, using the "host card emulation" feature added in Android 4.4. This sample makes the device appear as a loyalty card whenever the screen is on and the user taps their device on an appropriately configured NFC reader. The "CardReader" sample can be used to read the loyalty card implemented in this sample. Pre-requisites -------------- - Android SDK v21 - Android Build Tools v21.1.1 - Android Support Repository Getting Started --------------- This sample uses the Gradle build system. To build this project, use the "gradlew build" command or use "Import Project" in Android Studio. Support ------- - Google+ Community: https://plus.google.com/communities/105153134372062***5968 - Stack Overflow: http://stackoverflow.com/questions/tagged/android If you've found an error in this sample, please file an issue: https://github.com/googlesamples/android-CardEmulation Patches are encouraged, and may be submitted by forking this project and submitting a pull request through GitHub. Please see CONTRIBUTING.md for more details. License ------- Copyright 2014 The Android Open Source Project, Inc. Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

近期下载者

相关文件


收藏者