×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Apr 2010
    Posts
    22

    Get the last updated time of contacts in symbian using J2ME

    I have modified the contact in the contact list and now i want to get the last modified time of the contact.

  2. #2
    Nokia Developer Champion
    Join Date
    Feb 2009
    Location
    Noida, India
    Posts
    3,087

    Re: Get the last updated time of contacts in symbian using J2ME

    Try getting the value of Revision field of the contact item.

    REVISION
    public static final int REVISION Field specifying the last modification date and time of a Contact item. If the Contact has ever been committed to a ContactList, then this attribute becomes read only. This field is set automatically on imports and commits of a Contact. Data for this field is expressed in the same long value format as java.util.Date, which is milliseconds since the epoch (00:00:00 GMT, January 1, 1970).

    Note that the value provided may be rounded-down by an implementation due to platform restrictions. For example, should a native Contact database only support contact date values with granularity in terms of seconds, then the provided date value is rounded down to a date time with a full second.

    thanks,
    ~Amitabh

Similar Threads

  1. Replies: 0
    Last Post: 2009-11-22, 19:03
  2. start midlet by bluetooth on S40
    By peba25 in forum Mobile Java Networking & Messaging & Security
    Replies: 15
    Last Post: 2009-11-05, 09:35
  3. Calling Symbian Code From J2ME
    By satyarajasekhar in forum Mobile Java General
    Replies: 14
    Last Post: 2009-04-14, 14:46
  4. Combining J2me with Symbian C++
    By knowledge lust in forum Symbian
    Replies: 2
    Last Post: 2009-03-03, 20:41
  5. j2me application installation time for 3rd ed devices?
    By rayappan in forum Mobile Java General
    Replies: 1
    Last Post: 2008-10-14, 12:42

Posting Permissions

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