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

Posts: 32
Registered: ‎08-26-2008
My Device: Not Specified

NfcShareManager - receiver doesn't recognize the content

Hi fellow BB10 Developers and fans,


I would like to share small amounts of data (less than 100 bytes) from one device to another via NFC, and it looks like "NfcShareManager" is designed to easily do so!


Sharing URLs to the recipient's browser works fine:

NfcShareDataContent c;




So I tried to invoke my application...

// app.cpp:

NfcShareDataContent c;
c.setData(QString("I am a QString").toUtf8());



<!-- bar-descriptor.xml -->

<invoke-target id="com.mycompany.appname.invoke">


When I press two Dev Alpha B's together, they both vibrate. The "sender" makes the positive NFC chime, and the receiver makes the unsuccessful NFC "uh-uh" sound. I get the following message on the "receiver":


 "Your NFC applications do not recognize this content"


Do I need to add more <action>s to my bar-descriptor.xml? Perhaps another mime-type? I am testing with OS version Thanks in advance!