在android教程中将数据写入NFC标签
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/10265928/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Writing data into NFC tag in android tutorial
提问by Prasad
I want to develop an android NFC based application in which I want to read and write data into NFC tags. How to do this? Can anybody tell me the tutorials and android API's.
我想开发一个基于 android NFC 的应用程序,我想在其中读取和写入数据到 NFC 标签中。这该怎么做?谁能告诉我教程和android API。
回答by Kelsey Whelan
Here are two blogs posts which walk through code and have supporting videos to help developers get started reading and writing NFC tags in Android.
这里有两篇博文,其中介绍了代码并提供了支持视频,以帮助开发人员开始在 Android 中读取和编写 NFC 标签。
NFC Workshop Series: WritingTo An NFC Tag:
NFC 工作坊系列:写入NFC 标签:
NFC Workshop Series: ReadingAn NFC Tag:
NFC 工作坊系列:读取NFC 标签:
回答by Alex Florescu
Start with the documentation:
从文档开始:
https://developer.android.com/guide/topics/connectivity/nfc/index.html
https://developer.android.com/guide/topics/connectivity/nfc/index.html
回答by vlady
These should help you to begin the query:
这些应该可以帮助您开始查询:
http://developer.android.com/resources/samples/NFCDemo/index.html
http://developer.android.com/resources/samples/NFCDemo/index.html
http://developer.android.com/reference/android/nfc/package-summary.html
http://developer.android.com/reference/android/nfc/package-summary.html