问题描述
在配备了NFC读写器硬件的Android设备,有没有内置支持使用NFC标签内容,以断火的意图(例如,启动一个应用程序)?我问的支持是否存在默认情况下,我知道我可以建立自己的应用程序,以监听NFC事件并处理它们。
On an Android device equipped with NFC reader hardware, is there any in-built support to use the NFC tag contents to fire off an intent (e.g. starting an app)? I am asking whether the support is there by default, I know I could build my own app to listen for NFC events and handle them.
我所见过的NFC标签写入应用程序似乎只支持文本/网址/联系人和联系人支持似乎没用,因为很多都是远远过大,超出了标签。
All the NFC tag writing apps I've seen appear to only support text/URLs/contacts, and the contacts support seems useless as many are far too big to fit in a tag.
推荐答案
据的的的,它有可能为你的应用程序过滤NFC意图如的。
According the the Android Developer site, it is possible for your app to filter NFC intents such as ACTION_NDEF_DISCOVERED.
这篇关于启动一个Android应用程序/意图从NFC标签?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!