How to check if the Message was open / read or not

I always get the same result when I check if a message is read or not.

By using this code:

                me.getMessage();
                if(me.getStatus()==Message.Status.TX_READ){
                    Dialog.alert("Read "+me.getStatus());
                }else{
                    Dialog.alert("Not Read "+me.getStatus());
                }

He always says that he does not play, even if the message has been opened before.

what I'm doing wrong here?

Check the value of the getFlags, it's a bitpattern, not a number (like the flags of a field style)

Tags: BlackBerry Developers

Similar Questions

Maybe you are looking for