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

Java Development

Reply
Developer
smiley
Posts: 1,451
Registered: ‎07-14-2008
My Device: Z10
My Carrier: Fido

Is there a Listener for message read?

I want to know if there is a Listener for message read.  I want my app to be notified when the user reads an email or pin message.

 

thanks

 

Please use plain text.
Developer
peter_strange
Posts: 19,601
Registered: ‎07-14-2008
My Device: Not Specified

Re: Is there a Listener for message read?

You can do this if you attach a MessageListener to each messsage as it arrives.  Look at MessageListener API.  To attach, look at FolderListener.

Please use plain text.
Developer
smiley
Posts: 1,451
Registered: ‎07-14-2008
My Device: Z10
My Carrier: Fido

Re: Is there a Listener for message read?

thanks but i already doing this.  the folder listener only listens on added and deleted and not read.

Please use plain text.
Super Contributor
bh1r1th
Posts: 273
Registered: ‎11-23-2010
My Device: 9800 torch
My Carrier: Software Programmer

Re: Is there a Listener for message read?

Hi Please take a look at MessageList demo in sample applications in blackberry.

 

 

this will be helpful for you.

Please use plain text.
Developer
RexDoug
Posts: 4,764
Registered: ‎07-21-2008
My Device: Not Specified

Re: Is there a Listener for message read?

Once the message event hits your folder listener, you can add a MessageListener to the actual message.

 

You then get notified when the mail is opened.

 

See the addMessageListener method of Message.

 

Please use plain text.