Welcome!

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

Reply
Developer
Posts: 230
Registered: ‎01-12-2013
My Device: z30
My Carrier: Mobile Vikings

Invoking contact card

I want to invoke the contact card from within QML. The code I have is:

 

InvokeActionItem {
    query {
        invokeTargetId: "sys.pim.contacts.card.viewer"
        invokeActionId: "bb.action.VIEW"
        data: ListItemData.contactId
    }
}

 I also tried setting the mimetype but that did not help. Opening the contact in the contacts app works just fine. But I want to invoke the card.

______________________________________________________
BB10-OAuth: GitHub