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

Web and WebWorks Development

Reply
New Developer
Posts: 2
Registered: ‎03-05-2011
My Device: Not Specified

Sending email on the Playbook Simulator

Dear,

 

I created a few codes to send an email via the playbook simulator on VMware@Windows 7. However, it doesn't work at all. Any idea?

 

added these on config.xml

 

<feature id="blackberry.invoke" required="true" version="1.0.0"/>
<feature id="blackberry.message" required="true" version="1.0.0"/>
 <feature id="blackberry.identity" required="true" version="1.0.0"/>
 <feature id="blackberry.find" required="true" version="1.0.0"/>
 <feature id="blackberry.invoke.MessageArguments" required="true" version="1.0.0.0"/> 

 

 

the following javascript codes used in the html

 

var args = new blackberry.invoke.MessageArguments('test@test.com', 'Testing email', catItems[currentCatIndex][currentQuoteIndex]);

args.view = blackberry.invoke.MessageArguments.VIEW_NEW; 

blackberry.invoke.invoke(blackberry.invoke.APP_MESSAGES, args);

 

Any suggestions are appreciated. Thanks.

 

Highlighted
Developer
Posts: 482
Registered: ‎10-24-2008
My Device: 9300
My Carrier: AT&T

Re: Sending email on the Playbook Simulator

I don't believe the simulator for the Playbook has a message API? 

 

http://www.blackberry.com/developers/docs/webworks/api/playbook/

 

 

I'm sure there will be something provided eventually, but at the moment RIM hasn't released this ability on the Playbook in WebWorks.

_________________________________________
www.jasonmace.com/blackberry