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
Highlighted
New Developer
Posts: 15
Registered: ‎01-26-2012
My Device: 9300
My Carrier: BB
Accepted Solution

headless service and nfc tag

[ Edited ]

Is it possible assigned a specific app when a headless service reads nfc tag with specific information?

BlackBerry Development Advisor
Posts: 15,752
Registered: ‎07-09-2008
My Device: BlackBerry PRIV
My Carrier: Bell

Re: headless service and nfc tag

I'm not sure what you mean here.  Headless applications can use the instant preview, which a user can click on to open the UI of an application.  Does that answer your question?  More details can be found here:  Headless applications

Mark Sohm
BlackBerry Development Advisor

Please refrain from posting new questions in solved threads.
Problem solved? Click the Accept As Solution button.
Found a bug? Report it using Issue Tracker
Retired
Posts: 170
Registered: ‎09-06-2010
My Device: None
My Carrier: None

Re: headless service and nfc tag

Just to add to Mark's response I'd be interested to know what use-case you have in mind that you believe would require you to have access to an NFC tag from a headless application.

 

The nature of NFC as a close range radio link constrains use-cases to ones where the end-user has to take some physical action to "tap" the handset onto an NFC tag, an NFC reader or even another NFC device. NFC use cases generally require some element of interaction with an application via the UI -- for example, it would be unacceptable and illegal to allow a background application to approve a contactless credit card purchase without an auditable approval from the user. It's for this reason that NFC apis, and in fact the radio, are generally fully accessible only when an application is in the foreground. NFC is also tightly integrated with the Invocation Framework which allows the OS to launch the appropriate app into the foreground on the detection of a suitable NFC event so the need to use a headless app isn't necessary.

 

 

New Contributor
Posts: 10
Registered: ‎08-15-2014
My Device: Z3
My Carrier: AIRCEL

Re: headless service and nfc tag

It solved my problem too. Thanks jomurray
New Developer
Posts: 15
Registered: ‎01-26-2012
My Device: 9300
My Carrier: BB

Re: headless service and nfc tag

Thanks