11-19-2013 03:39 AM
Is it possible to display a progress bar on blackberry.io.filetransfer.download function? I don't know how to get a file size before download start from the server? I saw also that bbui.js has a progress indicator that would work ok if i knew how to calculate total file size before download and changing file size in bytes on the device.
Solved! Go to Solution.
11-21-2013 11:58 AM
11-22-2013 04:40 AM
Eventually I found a solution for this proglem. You need to use html5 XMLHttpRequest to which you can bind onprogress event and calculate procent of the loaded data. https://github.com/blackberry/BB10-WebWorks-Sample