Discussion Board

Results 1 to 2 of 2
  1. #1
    Regular Contributor ken2008's Avatar
    Join Date
    Sep 2008
    Posts
    155
    i write the js to create the object of xmlhttprequest to send data every 3 minutes.
    function updateData()
    {
    var xml_request = new XMLHttpRequest();
    req = xml_request;
    xml_request.onload = function(e) { onload( e, xml_request, callback ) };
    xml_request.overrideMimeType( mime );
    xml_request.open("GET", url);
    xml_request.setRequestHeader("Cache-Control", "no-cache");
    xml_request.send(null);
    setInterval( "updateData();", 2000*60*3);
    }

    when the fluxes more than 300KB(i'm not sure) after 1 hour,the brower showed the prompt "connecting...." like the first connectting the internet,and the data of "conn.mgr." started from zero.

    does anyone know how to check the fluxes of connection.and reconnect the internet.

    thank you very much

  2. #2
    Nokia Developer Moderator wizard_hu_'s Avatar
    Join Date
    Feb 2006
    Location
    Mallorca, Holiday
    Posts
    27,683
    Note that this particular board is about Symbian C++. JavaScript-stuff is probably discussed in the "Browsers & Web Servers" or "WRT Widget Development" categories, click back to
    "You Are Here: Home > Community > Discussion Boards" on the top, and you will find them.

Similar Threads

  1. MIDP(J2ME) OTA Provisioning Version Check?
    By zhihmeng in forum Mobile Java General
    Replies: 2
    Last Post: 2009-03-17, 01:27
  2. How to check pys60's version
    By nadavaha in forum Python
    Replies: 10
    Last Post: 2009-03-11, 10:18
  3. Replies: 2
    Last Post: 2009-01-04, 09:24
  4. Showing check box on menu
    By Utk in forum Symbian C++
    Replies: 0
    Last Post: 2004-12-20, 07:52
  5. Check box
    By andreas84 in forum Symbian User Interface
    Replies: 0
    Last Post: 2003-10-21, 08:32

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