如何编写 RFID 标签供 Nexus S NFC 读取?

发布于 2024-10-09 20:00:54 字数 105 浏览 11 评论 0原文

有谁知道将信息写入 RFID 标签并从 Android、Nexus S 读取信息是否有任何细节?

是否有专门针对 Android 的 RFID 标签,或者专门的 RFID 写入器?

Does anyone know if there are any specifics on writing info into a RFID tag and reading it from Android, Nexus S?

Is there special RFID tag just for Android, or a special RFID writer?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(7

机场等船 2024-10-16 20:00:54

Android 2.3.3 现在也支持写入功能。支持哪些标签的详细信息如下: http://developer.android.com/sdk /android-2.3.3.html

我计划研究几个如何读取和写入标签的示例,并将在我的 Twitter 帐户 @hansamann 上发布链接

Android 2.3.3 now supports write capabilities, too. Details which tags are supported are here: http://developer.android.com/sdk/android-2.3.3.html.

I plan to work on several examples how to read and write tags and will publish links on my twitter account @hansamann

梦断已成空 2024-10-16 20:00:54

基于 我遇到的,目前 Nexus S 仅提供 NFC 标签的读取功能,并计划支持其他模式。

我认为不可能存在特定于操作系统或平台的 RFID 标签,这不是一个好的商业决策:)。

Based on what I came across, for now Nexus S provides only read functionality for NFC tags and support for other modes is planned.

I don't think there can be a OS or platform specific RFID tag, that would not be a good commercial decision :).

终陌 2024-10-16 20:00:54

Nexus S 将读取 Mifare 标签。我已使用 Nexus S 从智能卡重播了 YouTube 视频 (http://www.youtube.com/watch?v=eu7fQsPjDls)。

The Nexus S will read Mifare tags. I have replayed YouTube videos (http://www.youtube.com/watch?v=eu7fQsPjDls) from a smartcard using the Nexus S.

吻泪 2024-10-16 20:00:54

URL 是用另一台设备(诺基亚 6212)写入的。我正在等待 Nexus S 更新,该更新将使手机能够写入标签。

The URL was written with another device (Nokia 6212). I am waiting for the Nexus S update that will enable the phone to write onto the tags.

2024-10-16 20:00:54

我在 android 市场中发现了 2 个标签编写器应用程序:其中一个来自 NXP 公司,该公司正在销售标签:https://market.android.com/details?id=com.nxp.nfc.tagwriter 另一个来自 Connectthings https://market.android.com/details?id=com.connecthings.tagwriter

I found 2 tag-writer-apps in the android marketplace: One is from the company NXP, which is selling tags: https://market.android.com/details?id=com.nxp.nfc.tagwriter the other from Connectthings https://market.android.com/details?id=com.connecthings.tagwriter

冬天旳寂寞 2024-10-16 20:00:54

我使用以下内容来编写(并重新格式化 RFID 卡以使用 NDEF 消息)

NdefFormatable format = NdefFormatable.Get(tag);
if (format != null) {
    try {
        format.Connect();
        format.Format(message);
        return true;
    }
    catch (IOException e) {
        return false;
    }
}
else {
    return false;
}

这是在 Monodroid 中,但我认为这个概念在 Java 中是相同的。

I use the following to write (and reformat RFID cards to use NDEF messages)

NdefFormatable format = NdefFormatable.Get(tag);
if (format != null) {
    try {
        format.Connect();
        format.Format(message);
        return true;
    }
    catch (IOException e) {
        return false;
    }
}
else {
    return false;
}

This is in Monodroid but I think the concept is the same in Java.

香橙ぽ 2024-10-16 20:00:54

您可以创建自己的 NFC 标签阅读器:

创建有效负载并使用另一台 Android 设备模拟 RFID 标签。
确保您在清单文件中授予 NFC_READ 、NFC_WRITE 权限。

You can create your own NFC tag reader:

Create the Payload and emulate an RFID tag using another android device.
Make sure that you are giving NFC_READ ,NFC_WRITE permisions in the manifest files.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文