Android 2.3 NFC简介

Android 2.3引入了NFC支持,允许开发者读取用户接触设备时发现的NDEF标签。系统在检测到标签时广播Intent,应用程序通过创建Intent过滤器识别并处理目标标签和消息。NFC API包括NfcAdapter、NdefMessage和NdefRecord等关键类。开发者需要在manifest文件中声明权限才能使用NFC API。
摘要由CSDN通过智能技术生成

来自:http://blog.csdn.net/mutouyueliang/archive/2011/03/01/6215811.aspx

原创:木头月亮

Android 2.3加入了NFC(近场通讯)的支持。官网developer.android.com的英文介绍如下:

Near Field Communications (NFC)

Android 2.3 includes an NFC stack and framework API that lets developers read NDEF tags that are discovered as a user touches an NFC-enabled device to tag elements embedded in stickers, smart posters, and even other devices.

The platform provides the underlying NFC services that work with th

评论 4
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值