uniapp NFC 插件,代码个人整理自 uni-app 论坛及网络。
使用插件时,建议先查阅安卓 NFC api 相关文档。
如代码或注释有误,欢迎联系我进行反馈。
如代码对你有帮助,欢迎 Star,这是对我的鼓励。
论坛消息、留言做不到及时回复,可邮件或QQ找到我。
邮箱(base64): Y3NzbWluaUBxcS5jb20=
企鹅号(base64):MjQxNTIzMTQ5Nw==
License: MIT License
if (package_TECH_DISCOVERED == intent.getAction()) {
这一句我永远的不到TECH;新卡得到TAG,以前写过的旧卡卡得到NDEF(1年前用您的软件写成功过,不记得哪个网站下来的了)
改成if (true) { 之后,旧卡读可以,新旧卡都写不了。
谢谢您不吝赐教。 微信、qq 112906505
拿公司门禁试了下,提示没有读取到数据,看了下是intent.getParcelableArrayExtra("android.nfc.extra.NDEF_MESSAGES")这个返回的没有。请问是什么原因
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.