Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Web and WebWorks Development

Reply
Contributor
Posts: 27
Registered: ‎01-20-2011
My Device: Bold
My Carrier: Developer

howto download

hi all, i wondering how to download a file and save in the playbook storage

 

thx

---------------------------------------------------------------
Best Regards

William
Highlighted
Retired
Posts: 1,382
Registered: ‎07-02-2009
My Device: BlackBerry Bold 9900
My Carrier: Bell

Re: howto download

 

Recommend saving the content into HTML5 LocalStorage or Web DB.  This will give you lots of space to keep a serialized copy of your file (e.g. full contents of an XML or JSON file can be easily saved in LocalStorage).  At present time, there is no JavaScript API for saving content, such as files, to the file system.

 

Listen in to Webcast #3 tomorrow for more info on LocalStorage and WebDB!

http://supportforums.blackberry.com/t5/Java-Development/Streaming-media-Start-to-finish/ta-p/488255

Follow me on Twitter: @n_adam_stanley
-------------------------------------------------------------------------------------------------------------------------
Your app doesn't work? Use BlackBerry remote web inspector to find out why.