NFC with JavaScript

25,113

Solution 1

You can't read tags from webApplication. Browsers does not communicate with NFC resources (it bored me too!!) The unique way to implementing NFC features with Javascript through Android Browser is using a WebView or framework like phoneGap in a native app.

Solution 2

In the near future it could be possible to use NFC directly from the browser, check this out

Or, if you want more info about then you can check the Mozilla MDN Doc about this! Sounds interesting indeed

Based on this link, you can also check if you browser has support for NFC.

Interesting link about it: Web NFC Community Group report

Share:
25,113
Dinkheller
Author by

Dinkheller

Having used ExtJS since 2010 as well as being part of the Sencha team in 2017/18 and working for all sizes of companies (e.g. Mercedes Benz Bank, Deutsche Telekom) I am currently looking for a fix job / freelance job in web-app / hybrid-app development. I offer frontend programming for all devices (including Cordova) App Projects: Peek & Cloppenburg: eCommerce Hybrid App Shop Telekom: Hybrid App for WebRTC telephonie (lots of Android plugins) Congstar: Telecomunication end customer platform SAP: business management system FestTool: tools market. Mercedes Benz: Customer Service App Mercedes Benz Bank: WebApp calculator

Updated on July 09, 2022

Comments

  • Dinkheller
    Dinkheller almost 2 years

    is there any JavaScript NFC API? I would like to read tags from a WebApplication (without PhoneGap). Or is there any way to use the NFC from JavaScript through JAVA?

    Best