Welcome!

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

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

Make several ListView connect to another app

Is it possible to use a ListView onTriggered: to connect to another application within the same app?

 

That is having two application running on the same app?

 

Kind regards

NFC on my mind!!
Developer
Posts: 6,473
Registered: ‎12-08-2010
My Device: PlayBook, Z10
My Carrier: none

Re: Make several ListView connect to another app

The Invocation Framework lets one app invoke another one as a "Card", making it appear "within" the same app.

What you're describing is pretty unclear, however. Why couldn't you simply build both pieces that you're describing into the same app? What is it about your use case that would require these two things be entirely separate "applications" (whatever that means to you) instead of being two parts of the same app (which is just short for "application", by the way).

Peter Hansen -- (BB10 and dev-related blog posts at http://peterhansen.ca.)
Author of White Noise and Battery Guru for BB10 and for PlayBook | Get more from your battery!
Regular Contributor
Posts: 50
Registered: ‎04-27-2012
My Device: BlackBerry Q10
My Carrier: 447713279379

Re: Make several ListView connect to another app

Thank you for the quick response to this...

 

I was able to work around what I needed to build....

 

However, I am trying to invoke the app using the invoke target from the bar.descriptor....I'm just not sure how to invoke the app using an "<property var="uris" value="ndef:"

 

<invoke-target id="com.example.Project">
<type>APPLICATION</type>
<filter>
<action>bb.action.OPEN</action>
<mime-type>application/vnd.rim.nfc.ndef</mime-type>
<property var="uris" value="ndef:"/>
</filter>
</invoke-target>

 

I want to add my own url, but just not sure how to do this. Please help if you can

 

Regards

NFC on my mind!!
Developer
Posts: 6,473
Registered: ‎12-08-2010
My Device: PlayBook, Z10
My Carrier: none

Re: Make several ListView connect to another app

I haven't done any of the NFC stuff yet, but I know there are many samples. Haven't any of those worked for you? Generally if you build them, they'll work fine, and then you can copy the configuration and code for your own app without much problem.

Peter Hansen -- (BB10 and dev-related blog posts at http://peterhansen.ca.)
Author of White Noise and Battery Guru for BB10 and for PlayBook | Get more from your battery!
Regular Contributor
Posts: 50
Registered: ‎04-27-2012
My Device: BlackBerry Q10
My Carrier: 447713279379

Re: Make several ListView connect to another app

The apps actually runs on the device, but when i placed the device on a reader, it doesnt invoke the app, is there a reason for this?

 

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

Re: Make several ListView connect to another app

got it working....!!! Thanks...
NFC on my mind!!