Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Native Development

Thank you for visiting the BlackBerry Support Community Forums.

BlackBerry will be closing the BlackBerry Support Community Forums Device Forums on April 1st (Developers, see below)

BlackBerry remains committed to providing excellent customer support to our customers. We are delighted to direct you to the CrackBerry Forums, a well-established and thorough support channel, for continued BlackBerry support. Please visit http://forums.crackberry.com or http://crackberry.com/ask. You can also continue to visit BlackBerry Support or the BlackBerry Knowledge Base for official support options available for your BlackBerry Smartphone.

"When we launched CrackBerry.com 10 years ago, we set out to make it a fun and useful destination where BlackBerry Smartphone owners could share their excitement and learn to unleash the full potential of their BlackBerry. A decade later, the CrackBerry community is as active and passionate as ever and I know our knowledgeable members and volunteers will be excited to welcome and assist more BlackBerry owners with their questions."

- Kevin Michaluk, Founder, CrackBerry.com

Developers, for more information about the BlackBerry Developer Community please review Join the Conversation on the BlackBerry Developer Community Forums found on Inside BlackBerry.

Regular Contributor
Posts: 50
Registered: ‎04-27-2012
My Device: BlackBerry Q10
My Carrier: 447713279379

Read a tag and invoke a web-browser

I figured out that this might be useful for certain developers out there...that intends invoking their apps, by simply reading the NFC tag....and voila!!! Magic....awesome one from the BlackBerry 10....finding it so easy to develop my NFC enabled apps nowadays!!! Thank you to the people inside this forum too for your contribution!!! 



<invoke-target id="com.example.bb10app.nfc ">




            <!-- The action(s) we support-->



            <!-- The mime type(s) we support, application/vnd.rim.nfc.ndef is for all

                 NDEF types (i.e. text, media, smart poster, uri-->



            <!-- ndef:// means that we want to register for ALL NDEF messages,

               in most cases we want to be more specific; we can filter these

               messages further with the following format ndef://TNF/RECORD_TYPE

               (e.g. ndef://1/Sp for tnf: Well Known, record type: smart posters).

               for URI record types the record type needs to be URL encoded

               (e.g. ndef://3/http%3A%2F%2F for tnf: Uri, record type: http://).

               for external record types the colon (Smiley Happy needs to be replaced with a

               forward slash (/)

               (e.g. ndef://4/rim.com/bbm for tnf: External, record type: rim.com:bbm).


               TNF VALUES:

               0 : Empty Tag

               1 : Well Known

               2 : Media (MIME)

               3 : Uri

               4 : External -->

            <property var="uris" value="ndef://"/>


        invoke_across_perimeters        application                                bb.action.OPEN   ...



*****NOTE: Note the TNF Value, 0,1,2,3,4


NFC on my mind!!
Regular Contributor
Posts: 50
Registered: ‎04-27-2012
My Device: BlackBerry Q10
My Carrier: 447713279379

Re: Read a tag and invoke a web-browser

This is usually added at the bottom of the bar-descriptor.xml....before the </qnx>

NFC on my mind!!