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
Posts: 107
Registered: ‎08-08-2008
My Device: Not Specified
Accepted Solution

Using message Transport.more()

I'm trying to set the message as being opened after receiving the rest of the message when calling "Transport.more".

I tried to call "message.setFlag(Message.Flag.OPENED, true);" when retrieving the rest of the body part after my listener notify my app but message status does not update when I set the message flag to opened = true.  Is there a default wait period or can i set it right after the listener notification?

 

 

BlackBerry Development Advisor
Posts: 15,693
Registered: ‎07-09-2008
My Device: BlackBerry PRIV
My Carrier: Bell

Re: Using message Transport.more()

Please make sure you are calling the Message.updateUi method after changing the message status.  This ensures that Ui elements in the Messages application are updated to reflect the change.
Mark Sohm
BlackBerry Development Advisor

Please refrain from posting new questions in solved threads.
Problem solved? Click the Accept As Solution button.
Found a bug? Report it using Issue Tracker
Developer
Posts: 107
Registered: ‎08-08-2008
My Device: Not Specified

Re: Using message Transport.more()

thanks Mark. I'll try this.