Citing the BBM in qml

Hello guys how are you

I try to call bbm to open my bbm channel in qml, I'm stuck in these codes and I don't know what to do

{ActionItem}
Title: 'BBM CHANNEL. "
imageSource: "asset:///icons/ic_notes.png."
attachedObjects:]
{InvokeActionItem}
ID: bbm
query {}
invokeTargetId: "sys.bbm.channels.card.previewer".
invokeActionId: "bb.action.OPENBBMCHANNEL".
URI: "" bbmc:".
}
}
]
onTriggered: {}

}
}

I tried many things, but all of them didn't work

Also I don't know how to trigger the call using onTriggered

any help on this?

Thanks a lot guys

Please note that I am glad that I can help , what I did was simply using propety Invocation in an attachedObjects

That's what I did

{ActionItem}
Title: "my string".
imageSource: "asset:///icons/ic_bbm.png."
attachedObjects:]
{Of invocation
ID: invokeBBMC
query {}
invokeTargetId: "sys.bbm.channels.card.previewer".
URI: "bbmc:C002151A4".
}
}
]
onTriggered: {}
invokeBBMC.trigger ("bb.action.OPENBBMCHANNEL")
}

You can find more information, so that the implementation that c ++ here:

https://developer.BlackBerry.com/native/reference/Cascades/bb__cascades__invocation.html

Peace

Tags: BlackBerry Developers

Similar Questions

  • 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.

  • 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 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.

  • load the HTML to qml

    Hello

    what I want to do is to dynamically load the HTML an application Web layout. Which means that I generate an HTML fill it with a string and then put this with some style options in the qml Web view option.

    I am new to BlackBerry applications development and I do not know how to start here. Can anyone give me a tip?

    This is really another question and which I think needs you to play with the creation of your own custom control classes until I understand the concept.

    However, the key will be;

    Create a class derived from QObject

    Add a QProperty something like myHtml

    Write dynamic html code in the class

    Expose the class to QML

    Include your library in the QML page

    Add your QObject class myHtml property to property html WebView

    It seems probably complicated at first, but there are many examples in the samples, so I suggest you download a few of these and work with their understanding.

  • To access the properties of QML context through several QML files

    It seems so basic, but I don't see how well...

    I put a 'WebAPI' context property to access my class that makes HTTP requests etc. WebAPI works very well main.qml, but when I try and use it in the included LargeThumbItem.qml I get:

    "LargeThumbItem.qml:37: ReferenceError: can't find variable: WebAPI.

    How to set a context property that is available for * all * my QML files? What is the best practice for this?

    hand. QML

    {

    ...

    {ListItemComponent}

    type: 'point '.

    LargeThumbItem {

    }

    }

    ....

    }

    LargeThumbItem.qml

    {

    ....

    WebAPI.getImagePath (...)

    ...

    }

    I do the usual configuration...

    QmlDocument * qml = QmlDocument::create("asset:///main.qml").parent(this);

    QML-> setContextProperty ("WebAPI", m_pWebAPI);

    I tried calling qml-> documentContext()-> setContextProperty(), but it did not work. Is there a global context that I can put all documents will inherit? (the API documentation seems to suggest there is).

    This problem is related to what is described here and the solution is the same. The problem is that the ListItemComponents have a different context and lifecylce due to the fact that they are cached in and out as the scrolls of the ListView (see here for details).

    I solved it by adding a dynamic property on the global object of 'Qt' for example in onCreationCompleted() or anywhere where the senses in main.qml. In my case, I chose to pass a string, because I don't know if the global property to the instance around WebAPI is a good idea.

    Qt.homeListBaseURL = WebAPI.getImagePath ("TitleImagePathPrefix", "170 x 240")

    Then in LargeThumbItem.qml for example

    {WebImageView}

    ...

    URL: Qt.homeListBaseURL + ListItemData.ContentId + '.jpg '.

    ...

    }

  • 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.

  • 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.

  • The application of QML menu

    Can create application menu from file QML (such as QMLDocument)?

    Thank you

    nrjg wrote:

    Can create application menu from file QML (such as QMLDocument)?

    Thank you

    from c ++ yet

    but it is easy to do, and then you can have Pages of the tha in QML

    Take a look at my OpenDataSpace to Github project

    You can find the code to create the SystemMenu in opendataspaceapp.cpp and then a few pages qml as 'FeedbackSheet.qml', 'PreferencesSheet.qml '...

    It may be useful

  • 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.

  • 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 set the current date in the datetimepicker in qml?

    Hello

    Can I know how to set the current date in the DateTimePicker in QML?

     DateTimePicker {
                        id: datePicker
                        mode: DateTimePickerMode.Date
                        title: "Date"
                        value: "2013-11-20"
                        maximum: "2013-11-20"
                    }
    
    Container {
        DateTimePicker {
            id: picker5
            title: "DateTimeQml"
            mode: DateTimePickerMode.DateTime
            value: { new Date(); }
        }
    }
    
  • 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