Discussion Board

Results 1 to 6 of 6
  1. #1
    Regular Contributor raf1hh's Avatar
    Join Date
    Nov 2007
    Posts
    147
    With the latest firmware update for N97 pretty much all python apps are broken due to the kinetic scrolling. Pys60 devs, any idea when the update is coming to address this issue?

    Raf
    http://www.bdcsoftware.com/development-blog

  2. #2
    Nokia Developer Champion gaba88's Avatar
    Join Date
    Feb 2008
    Location
    Ahmedabad, Gujarat, India
    Posts
    3,688
    hello raf1hh

    you have a taken a very valid point but there are no signs of update from the Team yet, its really being a long time PyS60 1.9.7 was released.
    Hope we see the update sooner.

    Regards,

  3. #3
    Nokia Developer Champion marcelobarrosalmeida's Avatar
    Join Date
    Nov 2007
    Location
    Sertaozinho/Brazil
    Posts
    752
    Quote Originally Posted by gaba88 View Post
    Hope we see the update sooner.
    Me too. mktime() bug is blocking me to use 1.9.7

  4. #4
    Nokia Developer Champion marcelobarrosalmeida's Avatar
    Join Date
    Nov 2007
    Location
    Sertaozinho/Brazil
    Posts
    752
    Quote Originally Posted by marcelobarrosalmeida View Post
    Me too. mktime() bug is blocking me to use 1.9.7
    Leonid Shevtsov post a workaround for this bug:

    Code:
    import calendar
    # Tested on 5800XM. The only difference is that it returns an integer, not a float.
    def mktime_fixed(time_tuple):
        return calendar.timegm(time_tuple)+time.timezone

  5. #5
    Regular Contributor foosion's Avatar
    Join Date
    Jul 2009
    Posts
    101
    Another solution is to use

    Code:
    strftime('%s')
    to get seconds from a time tuple. This is not documented python, but it works on my e63

    For example
    Code:
    secs = float(date.strftime('%s'))

  6. #6
    Nokia Developer Champion marcelobarrosalmeida's Avatar
    Join Date
    Nov 2007
    Location
    Sertaozinho/Brazil
    Posts
    752
    Quote Originally Posted by foosion View Post
    Another solution is to use

    Code:
    strftime('%s')
    to get seconds from a time tuple. This is not documented python, but it works on my e63

    For example
    Code:
    secs = float(date.strftime('%s'))
    Thanks, foosion. I think now I have alternatives to move to 1.9.7 :-)

Similar Threads

  1. pyS60 my program's package not running on phone
    By kashif_iftikhar in forum Python
    Replies: 6
    Last Post: 2009-03-28, 19:48
  2. [sharing] Acessing twitter via pyS60
    By marcelobarrosalmeida in forum Python
    Replies: 0
    Last Post: 2009-02-02, 03:06
  3. Replies: 12
    Last Post: 2008-09-23, 06:08
  4. Certificated applications update
    By bcarbajo in forum Mobile Java Networking & Messaging & Security
    Replies: 2
    Last Post: 2006-06-08, 15:32
  5. Nokia Image Converter
    By davidpurdie in forum General Development Questions
    Replies: 0
    Last Post: 2004-02-18, 15:31

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved