Thanasis, thanks for your reply. I am using Multitech Quadband GPRS modem. But, yes, for some reason, the sms messages that I send from the application to a cellphone get stored in the modem SIM. And, I literally had to take the SIM out, put it in a cellphone and delete from there. I had used srv.delete(msg) where msg type is inbound. And, I think that deleted the messages read by ReadMessage code. But, I think there is nothing like srv.delete(Outbound message) that I could use to delete the outgoing messages. So, to me it looks like, we can delete the InboundMessages but not the Outbound messages. I have very recently started using smslib so not very much familiar with it too. But, just putting my guesses about what might be the posssibilities On Sat, Dec 19, 2009 at 1:36 AM, Thanasis <[email protected]> wrote:
> Oh, I see what you mean. > You want to delete the copied message from the "SENT" folder, right? > This is not supported by SMSLib. However, I've never seen a gsm modem > saving replies in the "SENT" folder... this is a phone feature. Plus, > the "SENT" folder is actually stored in the device's RAM memory and > not SIM. > > What modem are you using? > > On Dec 19, 12:00 am, satya singh <[email protected]> wrote: > > 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]> > <smslib%[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]<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.
