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. New to the forum? Please visit the ‘Getting Started’ link below.
inside custom component

Web and WebWorks Development

Reply
Contributor
balioffice
Posts: 14
Registered: ‎01-16-2011
Accepted Solution

Is there any listener for email message ?

Hello Guys...

 

I am trying to make a email message trigger the procedure or function when the email arrived.

Is there any email message listener function for email (like in SMS)

 

thanks...

 

 

rudy

Please use plain text.
BlackBerry Development Advisor
tneil
Posts: 3,696
Registered: ‎10-16-2008
My Carrier: Rogers

Re: Is there any listener for email message ?

Currently there isn't this capability built into the JS APIs.. I know some partners have created JavaScript extensions to do what you are describing. 

Tim Neil
Director, Application Platform & Tools Product Management
Follow me on Twitter
Please use plain text.
Contributor
balioffice
Posts: 14
Registered: ‎01-16-2011

Re: Is there any listener for email message ?

 

Hello Tim,...

 

thanks for your previous reply,

 

I wonder, is that possible the incoming email handle using this method (push/data) like in the API reference ?

 

http://www.blackberry.com/developers/docs/widgetapi/blackberry.push.html

or

http://www.blackberry.com/developers/docs/widgetapi/blackberry.push.Data.html

 

 

and is there any webworks sample to run push ? I only found the sample using java on the web.

 

many thanks...

 

 

Rudy

Please use plain text.
BlackBerry Development Advisor
tneil
Posts: 3,696
Registered: ‎10-16-2008
My Carrier: Rogers

Re: Is there any listener for email message ?

You are unable to detect incoming emails using the push API.  The push API is for pushing your own custom data to your application.

Tim Neil
Director, Application Platform & Tools Product Management
Follow me on Twitter
Please use plain text.
Developer
lagunex
Posts: 64
Registered: ‎02-12-2011
My Carrier: Yoigo

Re: Is there any listener for email message ?

It would be really useful an email listener with the possibility of defining Javascript callback functions, just like there is for SMS and Push.

I've been trying to build one but I'm having problems getting the FolderListener to call back a Javascript function from my webwork app.

Any ideas?
Please use plain text.