×

Discussion Board

Results 1 to 4 of 4
  1. #1
    Registered User
    Join Date
    Dec 2008
    Posts
    1

    widget activity in background (i.e. minimized)

    Hello. I'm working on application for fetching some frequently updating(minutes) info from the internet. I would like to have a possibility to auto-check for updates when my widget is minimized. I'm using setTimeout and it works fine when application is active, but it looks like everything is suspended when application goes to the background. Is there any way to avoid this?

    Thanks.

  2. #2
    Registered User
    Join Date
    Mar 2009
    Posts
    5

    Re: widget activity in background (i.e. minimized)

    I've read there is a bug in the SDK where SetInterval and SetTimeout don't work when the app is in the background.
    I've hacked it by replacing the timer by an AJAX call to a server that only replies after x seconds but that is not really a clean way to do it.

    Did you find any way round this issue since your post?

  3. #3
    Nokia Developer Expert
    Join Date
    Jun 2008
    Location
    Tampere
    Posts
    833

    Re: widget activity in background (i.e. minimized)

    Hello,

    For which device, you are targeting your application?

    Please see this known issue:
    http://wiki.forum.nokia.com/index.ph..._BrowserNG/7.1

    You can check the browser version from the Options-> Help -> About application (if that menu exists, then you are running BrowserNG/7.1)
    -Ilkka

  4. #4
    Registered User
    Join Date
    Mar 2009
    Posts
    5

    Re: widget activity in background (i.e. minimized)

    Well, I'm currently testing on an E55 (BrowserNG/7.1.13841) but ideally I would like to target any phone with S60 3rd Edition.
    Do you know when will the fix be released?
    Is there any workaround in the meantime (cleaner than my hack)?

    Thanks!

Similar Threads

  1. S60 Widget specification
    By meetashish in forum Symbian
    Replies: 8
    Last Post: 2010-01-20, 14:16
  2. My widget stopped working. Feed read timeout
    By miklos.szanyi@gmail.com in forum Widsets Development
    Replies: 0
    Last Post: 2009-01-23, 10:00
  3. [moved] S60 5th Skin background mispositioned
    By sunnyhk in forum Symbian User Interface
    Replies: 0
    Last Post: 2008-11-25, 03:15
  4. How to make the background of a Custom Canvas Transparent
    By markchua_99 in forum Mobile Java General
    Replies: 4
    Last Post: 2008-09-30, 02:57
  5. Nokia 6131 + Audio Player Background?
    By andrescm in forum Streaming and Video
    Replies: 0
    Last Post: 2007-10-15, 23:17

Posting Permissions

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