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
Highlighted
New Contributor
Posts: 3
Registered: ‎04-28-2012
My Device: 9300
My Carrier: 9300
Accepted Solution

How to set Mash as read by code

Hi all.

I have a problem with filter mail application. I want to mash as read mail automatically after received new mail.

Can u help me. Thank in advance Smiley Happy

Developer
Posts: 19,636
Registered: ‎07-14-2008
My Device: Not Specified

Re: How to set Mash as read by code

Sorry I don't undersand, can you ask this question another way?  What is "mash as read mail"?

New Contributor
Posts: 3
Registered: ‎04-28-2012
My Device: 9300
My Carrier: 9300

Re: How to set Mash as read by code

Sorry, "Mark as read" not "Mash".

I had a solution

 

msg.setStatus(Message.Status.TX_READ, Message.Status.RX_RECEIVED);
msg.setFlag(Message.Flag.OPENED, true);

 

Thank for reply Smiley Happy