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
New Developer
GeilPMagico
Posts: 17
Registered: ‎11-08-2012
My Device: Z10 Limited Edition
My Carrier: H3G - Italy
Accepted Solution

Problem with Invoke email

Hello guys, I have problami with InvokeActionItem

 

InvokeActionItem {
    title: qsTr("Email")
    imageSource: "asset:///images/ic_email.png"
    ActionBar.placement: ActionBarPlacement.OnBar
    query {
        invokeTargetId: "sys.pim.uib.email.hybridcomposer"
        invokeActionId: "bb.action.SHARE"
        uri: "mailto:test@gmail.com&subject=Support"
    }
}

 I followed as written in the documentation, but the console shows this message when the Page is loaded

 

InvocationWrapper::onQueryFinished: no matching result from Menu Service for query
   mimeType=""
   uri=QUrl("mailto:test@gmail.com&subject=Support") 
   data= "" 
   metadata= QMap() 
   perimeter= 0 
   action= "bb.action.SHARE" 
   target= "sys.pim.uib.email.hybridcomposer" 
   invokerIncluded= false 
InvokeActionItemPrivate::updateActionSet: unexpectedly query state 3 

 Can you help me?

 

 

Thanks, Nicola.

Please use plain text.
Developer
oliver_kranz
Posts: 216
Registered: ‎09-18-2009
My Device: Z10
My Carrier: O2

Re: Problem with Invoke email

Action

bb.action.OPEN,bb.action.SENDEMAIL

 

Your URI should be:

uri: "mailto:test@gmail.com?subject=Support"

 

Please use plain text.