Invite the BBM C++ invocation

Hello

the following segment isn' work.  I tried it in QML with the same results, so instead tried to do in C++, but I get the following error?

> InvocationPrivate:nQueryResolved: no matching result query, no armed signal sent.

Here's the code sniplet... :

URI passed is a valid PIN, i.e. uri = QUrl("pin:")

void ApplicationUI::sendBBMInvite(QString uri) {

    invocation = Invocation::create(
            InvokeQuery::create().parent(this).uri(uri).invokeTargetId("sys.bbm.sharehandler"));

    connect(invocation, SIGNAL(armed()), this, SLOT(onArmedBBMInvite()));
    connect(invocation, SIGNAL(finished()), invocation, SLOT(deleteLater()));

}

void ApplicationUI::onArmedBBMInvite() {
    invocation->trigger("bb.action.INVITEBBM");
}

Hello

just figureed out...

changed: and now works fine...

void ApplicationUI::sendBBMInvite(QString uri) {

    invocation = Invocation::create(
            InvokeQuery::create().parent(this).uri(uri).invokeActionId("bb.action.INVITEBBM"));

    connect(invocation, SIGNAL(armed()), this, SLOT(onArmedBBMInvite()));
    connect(invocation, SIGNAL(finished()), invocation, SLOT(deleteLater()));

}

Tags: BlackBerry Developers

Similar Questions

  • BlackBerry Smartphones Can not decline, ignore or delete an invitation unwanted BBM on the Torch 9800

    I received an invitation BBM a stranger. I can't deny, ignore or delete this unwanted BBM invitation on the Torch 9800. I t is highlighting options, but when I select the options, nothing happens, and the invitation is still there.

    Any message may be removed or reduced, but not this specific one. (It is sent by a person in Thailand)

    Virus can be sent via the guest on the BBM? How can I get rid of this unwanted invitation on my BB Torch?

    If there is such a thing as a virus of BlackBerry, I guess it could be sent in this way, but there isn't.

    Remove the battery while your phone is on, then replace it.  Then see if you are able to remove it.

    Let us know if that helps.

  • integrating the BBM: feel free to download the example

    Hi all, I have an app with a tabbedpane and I would like to integrate the BBM: feel free to download the example. Since I'm a n00b C++ I have absolutely no idea on how to do it. The example of application starts on the screen where one can click on the button to invite friends through BBM surveys. I want this feature in a new tab. Guidance on what I need to change so that it works?

    I managed to do work and did a writeup on how I managed to do so:

    https://forrst.com/posts/Adding_BBM_Invite_To_Download_to_your_BlackBerry-FmY

    Enjoy!

  • How can I access a list of bbm contacts of the bbm in an application connected using friend javascripti friend am

    I'm developing an application that connects to bbm but I have a small problem, this application requires access to the bbm contact details. Please can someone help me on how I can do this...

    Thank you very much for your concern. I was able to solve the problem. At first I thought I could have access to all my bbm contacts including those who do not have related bbm app installed. I had to implement an invitation for those who do not have the application installed using blackberry.bbm.platform.users.inviteToDownload, I so was able to access the profiles of users through the pickUser() function.

  • Decoding of the BBM QR codes

    Hello

    I'm working on an application to scan bar code and trying to decipher the BBM invitation qr codes. Is there a documentation on them? I could not found.

    (1) BBM invitation QR code content looks like this:

    bbm:xxxxxxxxyyyyyyyyxxxxxxxx
    

    Where xxxxxxxx is the pin (it is repeated at the end) and yyyyyyyy is a unknown alphanumeric combination.

    (2) invitation group BBM presents a complex format that I can't decipher at all. It is an invitation to my test group:

    bbg:%+3JHCY7ETK:Z1F$H$ET E/DCOUE.I*E%B2.4+HYHFD3C 5BQ9J6D CBD3%RCZ4JK.P%E3B4DDW2GCJZ-3FFADWJ
    

    Any information is appreciated.

    You may draw the attention of the user to open the QR Code Scanner based on the "bbm:" and "bbg:" at the beginning of the string.  Unfortunately it isn't really a better way to handle this today.

  • Using Windows XP with an access switched. How can I stop the network Dialer to invite the user connect even if I checked never dial a connection in Control Panel, then apply, then OK?

    Using Windows XP with an access switched. How can I prevent the network Dialer to invite the user connect even if I checked: never establish a connection to the Control Panel, then apply, then OK? She comes right back in a few minutes for: always connect by default. Help! Control panel Connections tab doesn't really seem to apply my change to never establish a connection right back to always make the default connection. What else is there to do?

    Hi Richard,

    You did it all change hardware or software on your computer before this problem?

    You can follow this link & check if the problem persists:

    Network connections and remote access troubleshooting

    Hope the helps of information.

  • How can I keep the "on-screen keyboard" to invite the user every time that I reboot? The system is Windows Vista.

    How can I keep the "on-screen keyboard" to invite the user every time that I reboot? The system is Windows Vista.

    Please explain what you mean... "incentive"?

    The keyboard screen is not supposed to be enabled when the computer is turned on.

    Here's how to turn off on-screen keyboard:

    http://www.Vistax64.com/tutorials/72733-screen-keyboard.html

  • Vista invites the login screen to enter username and password for folder during the connection

    Hi all
    I have the shared folder on XP. A few days ago I changed the password on the XP machine for the user of Vista, and now I can't connect to the shared folder, because Vista is by using the old password and didn't invite the login user name and password window. Then I try to connect from another PC with Windows7, everything goes well. Even when I change the password on PC XP Windows7 user (just quick Windows7 home screen of the user name and password, so I can enter the same username and the new password to connect successfully). Please, help me to deal with this question, suggestions or something?

    Sirdele

    Try clicking on this link below, it should help you with your problem.

    http://answers.Microsoft.com/en-us/Windows/Forum/Windows_7-networking/Windows-7-asks-enter-network-password-when/2a8e6d6f-74a1-43C7-8530-24e8522ea955

  • Problem of voicemail for the BBM BBM

    Hello

    I have a problem with the BBM.

    A friend send me a voice message on BBM from his Iphone, and I can not open because it is said that this media format is not supported.

    I think this media format is .m4a. But the Blackberry should support this format right?

    I use the classic Blackberry with the latest version of the software (10.3.2.2836)

    If I send a voice message to my classic BB to the friend with the iphone, he could hear voice messages.

    Hope someone could help me.

    OMG Yes restart worked and solved the problem. THX

  • The BBM API integration

    Hello

    I want to integrate the BBM Api in my application where I can chat with my friends without switching to BBM app.

    I know, I can initiate the cat for any contact, but is it possible to receive messages in my application and continue chatiing?

    Any input on that?

    No, there is no API for BBM chat messages in your application.

    If you open BBM Chat card from your application with a user, you already have a BBM conversation with chat history is displayed.  But you can't have the content of the actual conversation within your application.

  • Where can I get the version 1.2 of the BBM SDK for Java?

    Can anyone share the version 1.2 of the BBM SDK for Java, please?

    I am looking for it because v1.3 is compatible with BB Messenger 6.1 or newer.

    I can't reach the SDK, it is too big. PM me an email address and I will send it.

    I use the SDK 1.2 for the same reason.

  • How to get the BBM Message in our application integrate after BBM SDK in App?

    Hello

    I need help in BBM get message in our application.

    I joined the BBM SDK in app so after that how many message comes in BBM all show message of our application.

    So, it is possible?

    You can call BBM to view a map of BBM chat in your application.  This allows the user to send and receive messages with your application.

    Your application cannot capture and read BBM messages programmatically.

  • ContactService object in bb::pim:contacts can get the BBM contacts?

    According to the documentation of cascades, ContactService can recover contacts from various sources such as BBM. Is this correct? I can only get local contacts and active sync.

    For the BBM contacts, are returned only contacts also with your installed application.

  • The BBM sample projects

    Hi, I tried to implement the social platform of BBM in my application and I downloaded projects.

    What confuses me, was that there are two similar projects with a different name.

    I would like to ask what is the difference:

    BBMQtRegistration and BBMQtInviteToDownload?

    Thank you

    BBMQtInviteToDownload

    itcraps wrote:

    Sorry, what I wanted was BBMBaseSampleRegistration and BBMQtRegistration. Any thoughts?

    BBMQtRegistration uses the Cascades/Qt C++ API.  BBMBaseSampleRegistration uses the Services API for BlackBerry C platform.  If you have a C application that uses the API Service of BlackBerry platform already you could add the BBM API in there too.  If this isn't the case, I recommend the C++ API of waterfalls, which are easier to use.

  • How to use API BBM? The BBM SDK or the 'other' BBM API

    Hello

    There seems to be 2 ways to access the BBM. There are api BBM in documentations of BB you can see here:
    http://www.BlackBerry.com/developers/docs/5.0.0api/index.html net.rim.blackberry.api.blackberrymessenger of the package. However, there are also the BBM SDK APIs, which seems to be quite different.

    I searched the hi and low for a comparison of these 2 ways to access the BBM. I'll appreciate your help.

    BTW: I built an application with the BBM API in the documentation of BB (not the BBM SDK docs), but I get nothing when I try to access the session, i.e. MessagerContact.getSession (where MessengerContact is a MessengerContact object). I don't understand the reason for the null value. I run the tests from the emulator.

    Thanks for your help.

    Welcome to the forum.

    BBM API documented in the Javadocs is for the old BBM, which was replaced.  The SDK is so the way forward.

    Good luck

Maybe you are looking for

  • How to connect my iPhone to my car bluetooth 6

    How to connect my iPhone to my car bluetooth 6.  I got my old iPhone 4 pair, but can't do the car (Toyota Camry 2009) to recognize the new.  Any tips?

  • The laptop 522-3657 Acer E1 has an RTC battery

    I have an Acer E1 52-3657 model M52373. The unit works fine. I would like to know where the CMOS/RTC battery and how to access it when the time comes to replace it. A reference number for the battery required would be a good piece of information to h

  • Sansa Fuze only synchronization not properly. :(

    Hi, I have a sansa fuze 8 GB. Recently I brought some new music, so I happily he imported everything in my music Manager. I'm lazy, and since I have all my music with me and didn't want to faff autour. Formatted the "rocket", inserted a 32 GB SD card

  • Using a keyboard shortcut to insert text

    I'll try to find how to insert text quickly without having to type it all in. The example is my email address. It takes a while to type, and I have to do it often. Is there a way to press a single function/control key which States that the value assi

  • Problems of new blackBerry Smartphones...

    Hi again.  I am having some problems with my Blackberry of replacement.  It seems that the only thing I can get are texts and phone calls.  My three e-mail accounts do not seem to receive anything.  I even did a test by sending an e-mail to me and it