Hi, If you call the readMessages() method with the correct Message Class as a parameter, do you still get your drafts?
On 28 March 2010 17:08, Mayur <[email protected]> wrote: > Hello Thanasis, > I have opposite problem. Whenever I run readMessage.java example > provided with SMSLib, it reads all the messages present in the phone > including messages which are already in inbox and which are in draft. > It happens when I get an incoming message. Is there a way to > avoid it and accept only message which are new? I searched in library > and did not find any function for detecting whether a message is read > or unread. > > -- > You received this message because you are subscribed to the Google Groups > "SMSLib User Group" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]<smslib%[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 User 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.
