×

Discussion Board

Results 1 to 5 of 5
  1. #1
    Regular Contributor
    Join Date
    Dec 2005
    Posts
    54

    How to get the unread sms

    Hi
    I read the official documentation but I can not understand how to use the function unread ().

  2. #2
    Super Contributor
    Join Date
    Oct 2007
    Location
    Deva, Romania
    Posts
    3,471

    Re: How to get the unread sms

    Code:
    import inbox
    
    i=inbox.Inbox()
    #Now we get the ID of the sms you want (in this example, the first one):
    a=i.sms_messages()[0]
    
    #Now we display its status (1 for read, 0 for unread)
    print i.unread(a)

  3. #3
    Nokia Developer Champion
    Join Date
    Feb 2008
    Location
    Ahmedabad, Gujarat, India
    Posts
    3,852

    Re: How to get the unread sms

    Quote Originally Posted by ikaroweb80 View Post
    Hi
    I read the official documentation but I can not understand how to use the function unread ().
    hi ikaroweb80
    hope bogdans post made u clear with the unread().
    if u r not clear then unread() in the inbox module will tell u abt the status of the msg.
    plz give the feedback.

  4. #4
    Regular Contributor
    Join Date
    Dec 2005
    Posts
    54

    Re: How to get the unread sms

    Hi Bogdan
    I've used your code and works fine thank you!

  5. #5
    Super Contributor
    Join Date
    Oct 2007
    Location
    Deva, Romania
    Posts
    3,471

    Re: How to get the unread sms

    You're very welcome. Glad I was able to help.

Similar Threads

  1. how to open a unread sms using default viewer, am having the EntryId of that sms
    By amjedab in forum Symbian Networking & Messaging (Closed)
    Replies: 22
    Last Post: 2008-07-16, 11:12
  2. Replies: 2
    Last Post: 2007-11-10, 13:19
  3. Send SMS Problem. Cannot Get SMSC Address. Due to Strange SIM Card?
    By cksong in forum Mobile Java Networking & Messaging & Security
    Replies: 1
    Last Post: 2007-07-02, 16:13
  4. Unread SMS
    By chuxs in forum PC Suite API and PC Connectivity SDK
    Replies: 0
    Last Post: 2004-03-26, 18:23

Posting Permissions

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