Thank you for visiting the BlackBerry Support Community Forums.
- Kevin Michaluk, Founder, CrackBerry.com
02-11-2014 02:48 PM
I am calling ContactService.createContact() . The console is showing that contactsAdded() signal is emited. How I can catpure that signal from C++? I tried to add contactsAdded.connect(fn), but its giving compiler error. How I can define a function in C++, which will be called when the API ContactService emits contactsAdded() signal after contact is added successfully.
Or in general, if the APIs we are calling is emiting a signal, how we can catpure it..?
02-12-2014 11:58 AM
02-12-2014 10:37 PM
I tried the following
contactsAdded is the signal as per the documentation. but "contactAdded()" is not getting called.
if I call service->createContact(builder, true); without postal address, contact is getting created. But when I call builder.addPostalAddress(), contact is not added to work perimeter contacts, when i call createContact.
If there is no postal address, its working.. I am not sure whether its a bug or I am doing it wrong. I tried example from the site and its still not working..
02-13-2014 11:03 AM
That's odd. Sounds like it could be a bug, if it's just the postal address that is making the difference. Please log an issue on the Developer Issue Tracker: DIT