Git Product home page Git Product logo

Comments (3)

don avatar don commented on July 25, 2024

I can help you track this down if you can send me some more info. Email it to don at chariotsolutions dot com if you don't want to post here.

What did you expect to be on the tag?
How many records?
For each record

  • tnf
  • type
  • payload

If the payload text or binary? If it's text is it UTF-8?

Can you send the me out output from adb? I'm looking for something like

D/NfcPlugin( 1981): action android.nfc.action.TECH_DISCOVERED
D/NfcPlugin( 1981): android.nfc.tech.MifareClassic
D/NfcPlugin( 1981): android.nfc.tech.NfcA
D/NfcPlugin( 1981): android.nfc.tech.Ndef
D/DroidGap( 1981): Resuming the App
D/NfcPlugin( 1981): onResume Intent { act=android.nfc.action.TECH_DISCOVERED flg=0x24000000 cmp=com.chariotsolutions.nfc.demo.reader/.ReaderDemo (has extras) }
D/NfcDispatcher(  462): Set Foreground Dispatch
V/NfcPlugin( 1981): var e = document.createEvent('Events');
V/NfcPlugin( 1981): e.initEvent('ndef');
V/NfcPlugin( 1981): e.tag = {"isWritable":true,"id":[114,-128,96,-28],"techTypes":["android.nfc.tech.MifareClassic","android.nfc.tech.NfcA","android.nfc.tech.Ndef"],"type":"com.nxp.ndef.mifareclassic","canMakeReadOnly":true,"maxSize":716,"ndefMessage":[{"id":[],"type":[84],"payload":[2,101,110,116,101,115,116],"tnf":1}]};
V/NfcPlugin( 1981): document.dispatchEvent(e);
D/CordovaLog( 1981): {"isWritable":true,"id":[114,-128,96,-28],"techTypes":["android.nfc.tech.MifareClassic","android.nfc.tech.NfcA","android.nfc.tech.Ndef"],"type":"com.nxp.ndef.mifareclassic","canMakeReadOnly":true,"maxSize":716,"ndefMessage":[{"id":[],"type":[84],"payload":[2,101,110,116,101,115,116],"tnf":1}]}
I/Web Console( 1981): {"isWritable":true,"id":[114,-128,96,-28],"techTypes":["android.nfc.tech.MifareClassic","android.nfc.tech.NfcA","android.nfc.tech.Ndef"],"type":"com.nxp.ndef.mifareclassic","canMakeReadOnly":true,"maxSize":716,"ndefMessage":[{"id":[],"type":[84],"payload":[2,101,110,116,101,115,116],"tnf":1}]} at file:///android_asset/www/main.js:59

from phonegap-nfc.

don avatar don commented on July 25, 2024

App updated to show dialog box with id when scanning a non-NDEF tag.

from phonegap-nfc.

don avatar don commented on July 25, 2024

Read tag example updated to display tag id for non-ndef tags

https://github.com/don/phonegap-nfc-reader

from phonegap-nfc.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.