×

Discussion Board

Results 1 to 2 of 2

Hybrid View

  1. #1
    Registered User
    Join Date
    Apr 2005
    Posts
    43

    The relationship between download file by Browser and cache in web runtime

    web runtime app coding:
    .......
    function download() {
    var url = "http://www.xxx.com/xxx.wgz";
    var urlEncoded = encodeURI(url);
    widget.openURL(urlEncoded);
    window.close();
    }
    .......

    download xxx.wgz file by Browser. First, run app with above code,call bowser to download file, it do well.
    Redo it later, popup browser, not download file. If clear cache in browser, redo it ,it do well.

    Why?
    How to solve this problem of downloading file?

    Thank you very much!

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

    Re: The relationship between download file by Browser and cache in web runtime

    Hi,

    You could try if the following trick helps.

    Code:
    var d = new Date();
    widget.openURL("http://www.yoururl.com/widget.wgz?time="+d.getTime());
    -Ilkka

Similar Threads

  1. the relationship between Qt and Carbide C++
    By azureskyi16 in forum Symbian
    Replies: 3
    Last Post: 2010-05-17, 06:15
  2. What's the relationship between RGA and Symbian SDK?
    By leejx in forum Symbian Tools & SDKs
    Replies: 5
    Last Post: 2009-09-11, 15:38
  3. Replies: 1
    Last Post: 2009-09-02, 11:20

Posting Permissions

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