Discussion Board

Results 1 to 6 of 6
  1. #1
    Regular Contributor
    Join Date
    Mar 2004

    Reading SMS silently

    I am trying to read the SMS via sockets. I am using the SilentSMS exacmple code from Wiki.

    I am able to read the SMS's successfully via the sockets, but when i restart the device, all the sms's that i read thru sockets come back again. It seems they are not deleted on the SMSC.

    I am using N95.

    My feeling is that this is a core problem of SilentSMS example. It does not delete the SMS's from SMSC after reading them. So they come back again. Is there any way to fix it. As many people are facing this issue.

    Also setting the TMsvEntry's Unread flag to False does not either solve the problem of sileting the SMS tone. As the vibration and tone thing is done b4 the notification come in HandleSessionEvent.

    So is there any other way to siletly read the SMS?

  2. #2
    Super Contributor
    Join Date
    Jan 2008
    Bangalore, India

    Re: Reading SMS silently

    close all the resourses that is using ,befor exit.

  3. #3
    Registered User
    Join Date
    Feb 2008

    Re: Reading SMS silently

    Hi guys,

    We did try this but it doesn't seem to work.. is there any other option/soln/workaround ?


  4. #4
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Oslo, Norway

    Re: Reading SMS silently

    Quote Originally Posted by premal.jhaveri@oz.com View Post
    We did try this
    Exactly what?

  5. #5
    Registered User
    Join Date
    Feb 2008

    Re: Reading SMS silently

    Quote Originally Posted by wizard_hu_ View Post
    Exactly what?
    >> close all the resourses that is using ,before exit.

    This problem is specific to N95.

  6. #6
    Regular Contributor
    Join Date
    Nov 2004
    Mumbai - India

    Question Re: Reading SMS silently

    Nitesh Bhardwaj :close all the resourses that is using ,befor exit.
    I see only two resources that can create issue.

    1st is iSmsMessage : its getting initialized in RunL. But getting deleted only in destructor.
    2nd may be Socket : According to help "If a socket has been opened using Open() then it should be closed using Close()."

    1st will create memory leak, only if application recives 2 sms.

    To solve both, I send only one msg [no mem leak] and added one line 'iSocket.Close()' in Dest'r.

    Even now, On restarting device, sms's reappear.
    Can u point exact resource that u r talking about ?

    FYI : http://discussion.forum.nokia.com/fo...d.php?t=126470

    Last edited by saurbh_g; 2008-05-14 at 05:24.

Similar Threads

  1. Reading SMS in Port 50000 Nokia 6275 CDMA
    By pmramprasath in forum Mobile Java General
    Replies: 14
    Last Post: 2009-01-07, 15:04
  2. reading sms from the sms application
    By hatwarbabu in forum General Messaging
    Replies: 6
    Last Post: 2007-03-22, 20:40
  3. problem in reading sms index
    By hosam2010 in forum PC Suite API and PC Connectivity SDK
    Replies: 1
    Last Post: 2005-06-12, 17:39
  4. reading and replying to sms automatically
    By dgobin in forum Symbian Networking & Messaging (Closed)
    Replies: 11
    Last Post: 2003-05-22, 16:21

Posting Permissions

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