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

Web and WebWorks Development

Posts: 134
Registered: ‎05-19-2012
My Device: Torch 9800, PlayBook 64GB, Dev Alpha
My Carrier: VIVO Brazil
Accepted Solution

Sending Email in PlayBook OS

Is there anyway to invoke the Messages app in PlayBook OS like we can in BBOS and BB10? I tried MessageArguments, but it only works in BBOS, the same for BB10 Cards. So how we can invoke the compose window in PlayBook OS?

If I helped you please click the "Like" button to support my work.
My apps: CherryNotes - Bookmarked - Requests
Social Me: about.me - Twitter
Posts: 322
Registered: ‎08-06-2012
My Device: Dev Alpha / Playbook / Curve 9300

Re: Sending Email in PlayBook OS

I was just looking for this same answer this week!  Been googling but found nothing webworks related.  I too would like to know if anyone has done it.


From the api docs though it seems like its not supported for PB:



I really don't see why it should be hindered.  The new Playbook has LTE, the old has Wifi and bridge, you should have an api to send emails from PB.

If it helped you, click like. :smileyhappy:
Posts: 322
Registered: ‎08-06-2012
My Device: Dev Alpha / Playbook / Curve 9300

Re: Sending Email in PlayBook OS

OK Fail!  Helps to search the forums a bit more thoroughly.  Found this:

Insert code like this into your app...


function invokeEmail(BodyStr, SubjectStr) {

    var remote = new blackberry.transport.RemoteFunctionCall("blackberry/invoke/invoke");
    remote.addParam("appType", "mailto:?Subject=" + SubjectStr + "&body=" + encodeURIComponent(BodyStr));


 Insert the feature into your config.xml:


<feature id="blackberry.invoke"/>

Call this function using something like:


onclick="invokeEmail('Hello World','test email');"

This can only be tested live on the playbook.  It does not work in the simulator.  The cool thing is you can invoke anything on this link:




This has to earn me some likes!





If it helped you, click like. :smileyhappy: