×

Discussion Board

Results 1 to 5 of 5
  1. #1
    Registered User
    Join Date
    Apr 2005
    Posts
    43

    Unhappy widget.openURL download file of wgz

    Hi,
    I want to download .wgz file using widget.openURL(). Call the Browser with url(.wgz) in wgz application,and to go Browser ,but there is no such file in e:\download folder of 5800mobile.

    But call the Browser with url(.zip) , then ok。


    Coding:
    ————————————————————————————————————————————————
    function executeSnippet() {
    //example: .wgz
    //var url ="http://down1.uudisc.com:8001/download/get?id=27240EE49D015233E12A4EC427839032";
    var url ="http://....wgz"; //wgz, error
    //var url ="http://....zip"; //zip, ok

    var urlEncoded = encodeURI(url);

    //widget.openApplication(0x10008D39,urlEncoded);
    widget.openURL(urlEncoded);

    }
    —————————————————————————————————————————————————


    thank!

  2. #2
    Regular Contributor
    Join Date
    Oct 2008
    Location
    bhavnagar
    Posts
    255

    Re: widget.openURL download file of wgz

    Hi Read This.
    That MAy be Helpful to U.
    Thanks
    nayan trivedi.

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

    Re: widget.openURL download file of wgz

    thank

    but the app is a type of .wgz.
    help

    thank

  4. #4
    Nokia Developer Moderator
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,165

    Re: widget.openURL download file of wgz

    What exacatly are you doing ?
    What excatly happens ?

    a bit more detailed step-by-step explanation might help understanding your problem.

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

    Re: widget.openURL download file of wgz

    Hi David,

    You can do this:

    Code:
    			var iframe = document.createElement('iframe');
    			iframe.style.display = 'none';
    			document.body.appendChild(iframe);
    			widget.onhide = function() { window.close(); };
    			iframe.src = updateUrl;
    Javier Zambrano Ferreira

Similar Threads

  1. Replies: 0
    Last Post: 2010-11-12, 05:40
  2. Replies: 0
    Last Post: 2010-08-14, 06:13
  3. Deployment of wgz via download
    By teuma86 in forum Symbian
    Replies: 4
    Last Post: 2010-04-28, 12:07
  4. widget openURL dont work
    By tunggad in forum Symbian
    Replies: 4
    Last Post: 2008-11-29, 16:25

Posting Permissions

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