Discussion Board

Results 1 to 2 of 2
  1. #1
    Regular Contributor
    Join Date
    Sep 2007

    Duplicate Messages

    I am trying to build a script that prevents duplication of Sms.Can anybody help me with the logic?

    thanks in advance

  2. #2
    Wiki Moderators
    Join Date
    May 2007
    21.46 N 72.11 E

    Re: Duplicate Messages

    Hello rabaf and welcome to the Forum

    Well Its a simple logic behind this!
    Just read the contents of the incoming sms and store it in a string.
    Now when you receive other messageread its string too and store it too.
    Now check for the condition that if both the strings are equal.If yes then use i.delete().Else take no action..

    Hope that helps
    Pankaj Nathani

Similar Threads

  1. need information about j2me polish
    By rathikathangaraj in forum Mobile Java General
    Replies: 4
    Last Post: 2007-12-19, 09:01
  2. Ghost SMS messages?
    By jonamafun in forum General Messaging
    Replies: 0
    Last Post: 2005-03-11, 10:53
  3. Messages comming from same sms Centre are repeated.
    By MRMA in forum General Messaging
    Replies: 0
    Last Post: 2003-06-21, 07:14
  4. Merging concatenated messages in SME!
    By leksiu in forum Smart Messaging
    Replies: 3
    Last Post: 2003-03-11, 03:25
  5. Retrieving messages from ME/GSM modem
    By skshambhu in forum General Messaging
    Replies: 1
    Last Post: 2002-10-23, 10:53

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts