×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    May 2009
    Posts
    14

    My widget freezes my emulator

    Hi all,

    I have coded a stock widget.This widget uses XMLHttprequest object to get values from web service and update my table on home page. I have used window.settimeout method to reinvoke the service which in turn calls a web service every 10 seconds. The problem is after few calls my emulator freezes ? Please help me in resolving this issue.


    Thank You
    Vijaygopal

  2. #2
    Registered User
    Join Date
    Sep 2008
    Location
    Manaus, Brazil
    Posts
    109

    Re: My widget freezes my emulator

    vijaygopal12345,

    Maybe could be a "Script is too big", it's a big problem in Nokia Browsers. But I not sure about that, you can see what's the real problem just activating the log javascript. Open the browser (Web icon), click option, settings, general and Java/ECMA script errors. Select Show pop-up notes and now, every error will be showing by script alert.
    Javier Zambrano Ferreira

  3. #3
    Registered User
    Join Date
    May 2009
    Posts
    14

    Re: My widget freezes my emulator

    Thank you for the reply.

    Here is a question. Every time my program calls itself for a time interval a new XMLHttprequest object is created. Does this cause the issue? The reason being my javascript is much lesser and smaller than few examples such as twitter widget.Is there any constraint on the number of lines of code each javascript must have?I have made the necessary changes in the emulator still the problem persists.Please help me resolve this issue.

    Thank You
    Vijay Gopal

Similar Threads

  1. Replies: 6
    Last Post: 2008-07-18, 21:45
  2. Replies: 1
    Last Post: 2008-07-11, 10:06
  3. Carbide.c++v1.3 and emulator often freezes up when stepping
    By qMatsuoka in forum Carbide.c++ IDE and plug-ins (Closed)
    Replies: 3
    Last Post: 2008-07-11, 09:15
  4. Carbide.vs emulator hangs when debugging
    By jyrkiettila in forum Symbian Tools & SDKs
    Replies: 14
    Last Post: 2008-02-26, 17:22
  5. some problem when using network on emulator
    By xhsoldier in forum Symbian Networking & Messaging (Closed)
    Replies: 9
    Last Post: 2006-12-06, 06:16

Posting Permissions

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