06-16-2012 08:43 PM
We have a superb app one of my mates is gonna pitch in Berlin on 28th
What we need is NFC for BB10
I've ordered a NFC dev kit (lots of tags)
Rod - hope you're reading this - you know this stuff backwards (Rod won the BBJam pitch in London for his passionate late entry) Hell, we pitched as well - I had to vote for us but wanted to vote for Rod (my boss admitted the same - <g>)
I should habe the NFC kit middle of the week and need to deliver for the Berlin Jam
I've got a DevAlpha to test on
06-19-2012 09:35 AM - edited 06-19-2012 09:58 AM
There a couple of "NFC for Blackberry 10" articles available. I believe/hope these will help.
06-19-2012 10:34 AM
It's all working - time for some rapid education my end (spec reading)
Dumb Q you're bound to know the answer to (less reasearch for me)
Do NFC tags have a unique identifier of do I have to write one to them to uniquely identify a tag?
08-06-2012 09:15 AM
Now when we have the possibility to create BB10 WebWorks Extensions based on native code, would it be possible to create a handler/extension for NFC or is a NFC API for WebWorks on the list of upcoming APIs?
08-06-2012 09:21 AM
It will be possible to create an extention, yes. Hopefully we'll see standard APIs for WebWorks developers to use as well though I'm not sure whether this is on the road map or not.
You might want to look at doing this with Cascades instead.
08-06-2012 10:15 AM
It seems reading NFC using WebWorks isn't a problem if you set up your app to be invokable for NFC tags using rim:invoke-target like the following in your config.xml:
<rim:invoke-target id="com.me.app"> <type>APPLICATION</type> <filter> <action>bb.action.OPEN</action> <mime-type>application/vnd.rim.nfc.ndef.1.Sp</mime
-type> <mime-type>application/vnd.rim.nfc.ndef.1.T</mime- type> <mime-type>application/vnd.rim.nfc.ndef.1.U</mime- type> </filter> </rim:invoke-target>
You will get the NFC tag data in the object.data attribute and using atob(object.data) but it also contains some payload data like "ÑTen" or "ÑU" I got in the console before the real information I wrote to the NFC tag.