是否可以在HTML5应用程序中访问NFC API? [英] Is it possible to access NFC API in HTML5 applications?

查看:4041
本文介绍了是否可以在HTML5应用程序中访问NFC API?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我要求包含NFC读卡器以读取关联ID,以便为触摸屏中显示的网络应用程序的用户进行身份验证。

I have a requirement to include NFC Card reader to read associate ID to authenticate the user for a web app displayed in a touch screen.

是否可以使用用于基于Web的应用程序的SCM NFC阅读器模块。

Is it possible to use SCM NFC reader module for a web-based app.

为此,我们是否可以在客户端或服务器端包含任何插件?

Is there any plugin that can we included in the client or server side for this purpose ?

提前致谢。

推荐答案

Web NFC API (由 NFC工作组目前处于草案状态。此API旨在提供对HTML5的NFC功能的访问。

The Web NFC API (maintained by the NFC Working Group is currently in draft status. This API is intended to provide access to NFC functionality for HTML5.


  1. 在其当前版本中,NFC Web API没有提供任何方法来获取标签ID /串口数/防冲突标识符(我假设这就是你用ID表示,对吗?)。事实上,API只能通过提供对NFC标签的访问NDEF抽象层。

  2. 我不知道当前实现NFC Web API的任何浏览器版本。



UPDATE



NFC工作组在其章程到期后关闭(主要是由于浏览器供应商缺乏支持)并且不再维护规范。相反,现在有一个 Web NFC社区组维护 Web NFC API规范现在。

UPDATE

The NFC Working Group was closed after its charter expired (mainly due to lack of support by browser vendors) and is no longer maintaining the specification. Instead there is a Web NFC Community Group now that maintains the Web NFC API specification now.

这篇关于是否可以在HTML5应用程序中访问NFC API?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆