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
Developer
Posts: 15
Registered: ‎06-02-2012
My Device: BlackBerry 10 Dev Alpha
My Carrier: Play Poland
Accepted Solution

How to unzip file?

Hi all !

 

I need to download and unzip a .zip archive to my sandbox (~/data/mydata) for processing. But my solution from Linux desktop (based on zlib) is uncompilable in BB10 SDK.

 

My question is: How to unzip .zip file in BB10 (native/cascades) right way?

 

Thanks in advance

Turdidae

BlackBerry Development Advisor (Retired)
Posts: 329
Registered: ‎05-07-2012
My Device: BB Alpha
My Carrier: N/A

Re: How to unzip file?

I see you have posted this on the Native board as well; One post is sufficient, I have responded to your other one:

http://supportforums.blackberry.com/t5/Native-Development/ZLIB-to-unzip-archive-on-BB10/td-p/1870995

 

Cheers!

 

Martin

Developer
Posts: 15
Registered: ‎06-02-2012
My Device: BlackBerry 10 Dev Alpha
My Carrier: Play Poland

Re: How to unzip file?

Hi all :smileyhappy:

 

I've used this lib to unpack zip files on BB10 and it rocks !!!

 

http://osdab.42cows.org/snippets/zip.php?mode=advanced#usage

 

Turdidae

Developer
Posts: 87
Registered: ‎07-23-2009
My Device: Z30
My Carrier: XL

Re: How to unzip file?

Hi,

Please share with us how to use osdab zip in our bb10 cascades ndk

 

Thanks