11-28-2012 10:57 AM
I'm looking for a signal that will help me identify when an invoked card has been closed (back button pressed)...
for example, i invoked the sys.mediaplayer.previewer card, and would like to detect when this card is closed on when the user is back on its previous screen...
i mention 'closed' mostly instead of back as if you use the mediaplayer card, it will automatically close/back itself once the video is done playing.
onTopChanged didn't get called
anyone know of a way to to that?
Solved! Go to Solution.
11-28-2012 11:12 AM
connect(invokeManager, SIGNAL(childCardDone(const bb::system::CardDoneMessage&)), this, SLOT(onCardDone(const bb::system::CardDoneMessage&)));
02-15-2013 12:00 PM
Once I connect this, how can I check what response the card gave? For example, for the camera card, there are three responses that are given by the card for different "reasons". What is the code to check for these "reasons"?
02-15-2013 12:06 PM - edited 02-15-2013 12:08 PM
I think it can be accessed using reason function of CardDoneMessage class. More details:
"Listen for card message response" section on this page:
02-15-2013 12:12 PM
02-15-2013 12:17 PM - edited 02-15-2013 12:18 PM
Does it compile? Try logging the values:
qDebug() << message.reason() << "\n";
qDebug() << message.dataType() << "\n";
qDebug() << message.data() << "\n";
upd: Glad to hear it's working