Hi, I am afraid this is not possible. The phone marks messages as READ by itself.
You could disable the notifications (notifications are the ones which instruct SMSLib to read messages "behind your back", without you explicitly requesting the read), but you will get the same result (messages -> status READ) when you call readMessages() as well. Does this suit you? On Wed, Jun 6, 2012 at 1:58 PM, SMSLib Discussion Group on behalf of Brian O Carroll <[email protected]> wrote: > Hi All, > > I have some successful test applications working with SMSlib but > there's one thing that I can't get working properly. When my phone is > connected and the service is started, all messages that arrive on the > phone immediately get marked as 'read' on the phone (even if I don't > read them from SMSlib or from the phone). > > Why is that? Is there some way I can stop SMSlib from doing that? > > I am using a regular check of > Service.readMessages(MessageClasses.UNREAD) to see when new messages > arrive. The callback method is not suitable for me because I need to > leave the messages on the phone. I don't want to just delete all > messages from the phone when they are read. > > Thanks, > Brian > > -- > You received this message because you are subscribed to the Google Groups > "SMSLib Discussion Group" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/smslib?hl=en. > > -- You received this message because you are subscribed to the Google Groups "SMSLib Discussion Group" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/smslib?hl=en.
