02-07-2013 09:10 AM
I have a webworks application successfully handling nfc reading via the invoked api, but need to write out simple text back to the tags. I see that nfc support is not coming any time soon
So my question is regarding the use of the invoke framework to write the tag. I have tested the cascades sample applications (NFCTool and specifically NFCToolLite) that do exactly what I need. NFCToolLite uses the invoke framework to share text to a tag.
I've tried many combinations of target, action, and type based around
Target: "sys.NFCViewer", action:"bb.action.SHARE", and type and uri: "application/vnd.rim.nfc.ndef" and "ndef://2/text/"
With no luck. Is their anything I can do to share text nfc tags from within webworks short of trying to write my own native extension?
Solved! Go to Solution.
02-07-2013 01:16 PM
Can I suggest you get Martin Wooley in on this as he's the main NFC guy @ BB
For my part I'll nag my contacts to get this thread serious attention
Like you I wish we had good NFC for WW
02-08-2013 03:18 AM - edited 02-08-2013 03:19 AM
02-08-2013 07:40 AM
Just the kinda thing we need
One problem with doing BB is that sometimes there's something like this but its not widely known
Can I suggest a new sticky so that when this kind of thing happens those of us who want to keep on top of the game can find it all in one place
02-08-2013 09:24 AM
Having tested the solution, it works great on my dev alpha.
Simulating under BB10 Simulator 10.0.10.261 throws INVOKE_NO_TARGET_ERROR when trying to share. I will open a bug under the webworks framework github. I'm also passing on your solution to the phonegap nfc plugin author
02-11-2013 10:28 AM