06-30-2012 03:35 PM - edited 06-30-2012 03:50 PM
hi all, im look for a way of
-Downloading a File (From a website), Saving it to the /documents folder and then opening that file.
i tried everything, but i havent figured out how i can do it ....
Any scripts? (with buttons)
Thanks in advance
Please dont link me to those developer.blackberry.com pages.. those codes... i just dont get it
Edit: this is what i have so far (It downloads and stores the file but you CAN'T open it with the File browser "file is damaged or not opened correctly")
07-03-2012 10:50 AM
There is sample code and a description of what to do here: http://supportforums.blackberry.com/t5/Web-and-Web
And a full working sample here: https://github.com/timwindsor/EnyoJS-on-BlackBerry
It requires a patch to be added to your WebWorks SDK which has instructions for patching here: http://devblog.blackberry.com/2012/04/webworks-sdk
07-11-2012 11:32 AM
I also saw there's a WebWorks extension for PlayBook tablet in https://github.com/blackberry/WebWorks-Community-A
Would that one be more efficient for downloading binary files to a local disk?
07-13-2012 02:21 AM
this is really what you want to use to download remote files to the PlayBook. I created an app in the past and was looking for the same solution and got a requested link to this extension. Follow the info-page to set up this extension and try it, it will really help in saving files to the PlayBook!
09-23-2012 01:44 PM
I've tried the UploadDownload extension, however, it seems it can only support downloading 1 file at a time. Is it the case?
I've logged an issue at https://github.com/blackberry/WebWorks-Community-A