×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Jun 2011
    Posts
    14

    setTimeou limit in Symbian Anna ?

    Hi,
    In order to provide visual feedback to the user, when expecting some time consuming processing, we use setTimeout(timeConsumingFunction,150) so WRT can refresh the screen before executing that function. This approach kept the widget responsive and users were informed that something was going on.

    In Symbian Anna we found out that the third ou fourth time we use setTimeout the function is not fired.
    No problem with previous versions of Symbian. We made sure the only ONE setTimeout is active (if required the next 'timeouted' function is placed in a queue that will be executed once the current one finishes).

    Removing the setTimeout and calling the functions directly solves the problem, of course, but the widgets doesn't seem so snappy anymore.

    Does anyone knows if there is a limit for it in the latest firmware?
    TIA,
    pivo

  2. #2
    Registered User
    Join Date
    Jun 2011
    Posts
    14

    Re: setTimeou limit in Symbian Anna ?

    Hi,
    More on this issue.

    After doing some deeper tests we could narrow down this problem.
    Is seems that the <embedded object in the new browser is 'broken'.
    It affects too the Flash object (also an embedded element) and the samples for the On Demand TV template.

    Having and <embedded> object in HTML makes the widget malfunction and setTimeout and setInterval are the commands that are most affect.
    Removing it from the HTML, and replacing with direct call to the device object, does the trick.
    Hope this helps someone else.
    pivo

Similar Threads

  1. NFC Forum Generic Control RTD in Symbian Anna
    By Haapakanni in forum Near Field Communication
    Replies: 1
    Last Post: 2011-06-13, 15:01
  2. Replies: 0
    Last Post: 2011-04-14, 08:59
  3. objects limit in symbian^3
    By Lakhbindar Singh in forum Symbian
    Replies: 4
    Last Post: 2011-03-18, 13:21

Posting Permissions

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