×

Discussion Board

Results 1 to 8 of 8
  1. #1
    Registered User
    Join Date
    Dec 2006
    Posts
    187

    Read all details of Inbox Messeges

    Hi all:
    i have writen a code in which i m reading all inbox messeges, i have read phone number, text and time but time specified in a message detail does not match, it shows 5 hrs differrence.how can i get actual details of a messege means its actual date,time,type,from,text and subject. can any body provide me a code.thanks in advance

    Regards
    Asif Nazir

  2. #2
    Nokia Developer Expert
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,143

    Re: Read all details of Inbox Messeges

    its propablty showing universal time, thus you need to convert it to local one.

  3. #3
    Registered User
    Join Date
    Dec 2006
    Posts
    187

    Re: Read all details of Inbox Messeges

    Thanks 4 reply :
    How can i convert it to a local time. how can i add +5 hours in
    hours and change date according to that.

  4. #4
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Budapest, Hungary
    Posts
    28,567

    Re: Read all details of Inbox Messeges

    I do not know if there is a specific API for your needs, but if you check TTime in the SDK Help, you should at least get some ideas. HomeTime, UniversalTime, MinutesFrom (HoursFrom is not generic enough, since there are 30-minute timezones too), operator+/+=/-/-= accepting TTimeIntervalMinutes. Is there anything missing?

  5. #5
    Nokia Developer Expert
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,143

    Re: Read all details of Inbox Messeges

    can not find quickly any nice API (there is propably one), but if i remember right you can get both times with TTime class, and then use them to calculate the time difference. Its better not to set any hard coded values, othervise you'll be right only in few places in the globe.

  6. #6
    Super Contributor
    Join Date
    Nov 2004
    Location
    Wiltshire, UK
    Posts
    3,644

    Re: Read all details of Inbox Messeges

    You can use RTz::ConvertToLocalTime to convert it.
    Download Symbian OS now! [url]http://developer.symbian.org[/url]

  7. #7
    Registered User
    Join Date
    Oct 2009
    Posts
    2

    Re: Read all details of Inbox Messeges

    Mr. ASIF NAIR

    I have been trying to access d mobile inbox and the code is not working....
    Could you please mail me the code. I would be very grateful for your help.
    Its my 5th sem class project.


    Thnks...

  8. #8
    Registered User
    Join Date
    Oct 2009
    Posts
    2

    Re: Read all details of Inbox Messeges

    Mr. ASIF NAIR

    I have been trying to access d mobile inbox and the code is not working....
    Could you please mail me the code. I would be very grateful for your help.
    Its my 5th sem class project.


    Thnks...

    My email id: praveen09892000@yahoo.com

Similar Threads

  1. read message body
    By darco in forum Symbian C++
    Replies: 35
    Last Post: 2007-04-29, 14:30
  2. Questions about inbox access
    By kaiten-sushi in forum Symbian C++
    Replies: 3
    Last Post: 2007-04-02, 08:25
  3. how can i read inbox messages using JSR-75
    By l_satyadev in forum Mobile Java General
    Replies: 4
    Last Post: 2006-09-21, 12:01
  4. Replies: 5
    Last Post: 2006-08-02, 12:35
  5. How to get list of subfolders under Inbox
    By Gayathri Lokesh in forum Symbian Networking & Messaging (Closed)
    Replies: 0
    Last Post: 2006-03-25, 06:48

Posting Permissions

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