×

Discussion Board

Results 1 to 6 of 6
  1. #1
    Regular Contributor
    Join Date
    Jan 2007
    Posts
    80

    Updating system time ?

    Hi there !

    Is there any way to update/modify the system clock programatically ?

    Thanks for reading
    In a world without Walls nor Windows, who need Gates ?

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

    Re: Updating system time ?

    You could use this method:
    Code:
    import e32
    
    e32.set_home_time(target time in Unix timestamp)
    #Meaning seconds since Jan 1 1970
    It works on the emulator, but you might get a "KErrPermissionDenied" on the device. This may mean that you need a certificate with this capability for the application to work. I'm not sure.

  3. #3
    Registered User
    Join Date
    Feb 2005
    Location
    Belgium (Europe)
    Posts
    1,352

    Re: Updating system time ?

    Quote Originally Posted by bogdan.galiceanu View Post
    You could use this method:
    Code:
    import e32
    
    e32.set_home_time(target time in Unix timestamp)
    #Meaning seconds since Jan 1 1970
    It works on the emulator, but you might get a "KErrPermissionDenied" on the device. This may mean that you need a certificate with this capability for the application to work. I'm not sure.
    Yes with WriteDeviceData cap it should work on 3rd ed !

    BR
    Cyke64
    pys60 1.4.5 and 2.0.0, pygame, PyS60 CE on E90 and 5800 !

    Find my pys60 extension modules on cyke64.googlepages.com

  4. #4
    Regular Contributor
    Join Date
    Jan 2007
    Posts
    80

    Re: Updating system time ?

    Great news ! A developer certificate is needed for WriteDeviceData capabilities, no ?
    In a world without Walls nor Windows, who need Gates ?

  5. #5
    Registered User
    Join Date
    Feb 2005
    Location
    Belgium (Europe)
    Posts
    1,352

    Re: Updating system time ?

    Quote Originally Posted by nono240 View Post
    Great news ! A developer certificate is needed for WriteDeviceData capabilities, no ?
    Yes ! You need a dev cert for this

    BR
    Cyke64
    pys60 1.4.5 and 2.0.0, pygame, PyS60 CE on E90 and 5800 !

    Find my pys60 extension modules on cyke64.googlepages.com

  6. #6
    Nokia Developer Moderator
    Join Date
    May 2007
    Location
    21.46 N 72.11 E
    Posts
    3,795

    Re: Updating system time ?

    Quote Originally Posted by nono240 View Post
    Great news ! A developer certificate is needed for WriteDeviceData capabilities, no ?
    Hi,

    You could also sign it using OpenSigned online at www.symbiansigned.com if you donot have a dev cert for your device.

    Best Regards
    Croozeus
    Pankaj Nathani
    www.croozeus.com

Similar Threads

  1. Change phone's system time
    By real_dude in forum Symbian
    Replies: 3
    Last Post: 2010-06-22, 05:49
  2. URL do not fire in S60 2nd Ed emulator
    By gigglie in forum Symbian Networking & Messaging (Closed)
    Replies: 0
    Last Post: 2008-02-20, 09:43
  3. How to get system time
    By Joe_Joechler in forum Mobile Java General
    Replies: 0
    Last Post: 2005-06-29, 14:32
  4. How to set system date and time
    By gswarup in forum Mobile Java General
    Replies: 0
    Last Post: 2005-01-21, 12:40
  5. How to get the time from system clock?
    By jarjak in forum Symbian
    Replies: 2
    Last Post: 2003-08-20, 13:50

Posting Permissions

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