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: 676
Registered: ‎05-06-2012
My Device: Dev Alpha & PlayBook
My Carrier: wifi

Invoke detect if no cards available

Currently I have a function which invokes a card.


I want to change it from a void function to one that returns true on success and false if no card is availible.


How can I check if the invoke request was successful?


voidApplicationUI::invokeFile(constQString &fileName) {

InvokeManager* invokeManager = newInvokeManager();

InvokeRequest cardRequest;


InvokeReply* reply = invokeManager->invoke(cardRequest);

qDebug() << invokeManager->invoke(cardRequest);



co-founder of Diaree | BB Dev for PictureThis
Posts: 358
Registered: ‎04-13-2013
My Device: Z10
My Carrier: Telus

Re: Invoke detect if no cards available

Here's some information:




I'm kind of in the same boat, I don't know how to put the reply code with relation to the invokr code.