Page 1 of 1

Re: Downloading binary data in widget

Posted: Thu Dec 09, 2010 8:00 pm
by timoo
look at net player widget sources in app\scenes\Scene1.js found this

Code: Select all

 function saveUrl()
    {
       var fileSystemObj = new FileSystem();
       if (urlArray.length>1)
            {
                var oFile=fileSystemObj.openCommonFile( FILE_URL, "w");
                for(var i=1; i < urlArray.length; i++)
                    {
                        oFile. writeLine(urlArray[i]);
                    }
            }
        else
           fileSystemObj.deleteCommonFile( FILE_URL);
        
        fileSystemObj.closeCommonFile(oFile);
    }
help you that?

Re: Downloading binary data in widget

Posted: Fri Dec 10, 2010 12:28 pm
by juusso