android - chariotsolutions phonegap-nfc plugin intent -


i use phonegap-nfc plugin chariotsolutions. reading nfc tag while app running no problem. registered app intents starts when app in background , tag read. ndeflistener not fired. know how tag information when app started intent?

you need add mime type listener nfcevent fired intent when application launches.

you can use same event handler using ndef listener, same except event type. don't need specify mime type.

nfc.addmimetypelistener("", app.onnfc, success, failure);

this bit odd, way works because of how events fired in plugin implementation.


Comments

Popular posts from this blog

windows - Single EXE to Install Python Standalone Executable for Easy Distribution -

c# - Access objects in UserControl from MainWindow in WPF -

javascript - How to name a jQuery function to make a browser's back button work? -