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

Native Development

Reply
Contributor
KishoreTalloju
Posts: 28
Registered: ‎07-04-2013
My Device: BB, 86ABC
Accepted Solution

How to download and store file in device

I need to download and want to save a file from server. Can any one privide me sample code regarding this.

Developer
saprykin
Posts: 271
Registered: ‎05-29-2013
My Device: BlackBerry Z10

Re: How to download and store file in device

Example solution do download a file via URL: http://supportforums.blackberry.com/t5/Cascades-Development/How-to-download-zip-file-And-also-open-e...
It stores file in your app sandbox directory. After that you can move it anywhere.
-------------------------------------------------------------------------------
NSR Reader for BlackBerry 10 @NSRReader on Twitter
Me @xelfium on Twitter
Contributor
KishoreTalloju
Posts: 28
Registered: ‎07-04-2013
My Device: BB, 86ABC

Re: How to download and store file in device

Its working.

Thanq sap.:-)

 

 

Developer
saprykin
Posts: 271
Registered: ‎05-29-2013
My Device: BlackBerry Z10

Re: How to download and store file in device

Nice to hear :smileyhappy: Please mark thread as solved to help others find a solution.
-------------------------------------------------------------------------------
NSR Reader for BlackBerry 10 @NSRReader on Twitter
Me @xelfium on Twitter