Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User davidoffice's Avatar
    Join Date
    Apr 2005
    Posts
    43
    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 Moderator isalento's Avatar
    Join Date
    Jun 2008
    Location
    Tampere
    Posts
    831
    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 C++
    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
  4. The relationship between wap and J2me
    By jinchengtaozi in forum Mobile Web Site Development
    Replies: 1
    Last Post: 2002-09-06, 13:09
  5. The relationship between wap and J2me
    By jinchengtaozi in forum Mobile Web Site Development
    Replies: 1
    Last Post: 2002-09-04, 10:13

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