Hi, There is issue: http://code.google.com/p/smslib/issues/detail?id=255 which may lead to duplicate reading. Are you using a Siemens phone?
On Aug 23, 3:17 am, Cedric <[email protected]> wrote: > Hi, im using Processing to use SMSlib and it works great. Only > problem. Everytime I receive a Msg the InboundMessageNotification gets > called two times. > > this is what this part of code looks like that gets called two times > but actually shouldnt... > any ideas why ? > > --------------------------- > public class InboundNotification > implements IInboundMessageNotification { > > public void process(String _gw, MessageTypes _mt, InboundMessage > _im) { > > msg = _im.getOriginator() + " : " + _im.getText(); > msgList.add(msg); > > println("Number of messages " + msgList.size()); > for (int i=0;i<msgList.size();i++) { > println( msgList.get(i)); > } > > try { > srv.deleteMessage(_im); > > } > catch (Exception e) { > e.printStackTrace(); > } > }} > > --------------------------- --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
