Thanasis , Thanks for replying. I have used Service.deleteMessage but I think that does not delete all the messages. I think it works for deleting the messages that I send from my cell phone to the modem number. But, when I return a response from the application using the srv.sendMessage, back to some cell phone, those wont delete. Is there a way to delete those too?
srv.deleteMessage takes only inbound message as an argument. On Fri, Dec 18, 2009 at 3:31 PM, Thanasis <[email protected]> wrote: > Use the Service.deleteMessage() method. > > On Dec 18, 6:19 pm, sunshine99 <[email protected]> wrote: > > I am using SMSLib for sending and receiving sms in my application and > > I notice that the messages get stored in my SIM card. I have to take > > the SIM card out, put it in a cell phone and manually delete the > > messages. Otherwise, at one point of time when the SIM card gets full, > > it will stop accepting any further messages. I am wondering if there > > is a way to delete these messages automatically. Is there a piece of > > code that does that? Or is deleting the messages manually by taking > > the SIM out the only option? > > -- > > You received this message because you are subscribed to the Google Groups > "SMSLib for Java 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 for Java 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.
