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

Java Development


Thank you for visiting the BlackBerry Support Community Forums.

BlackBerry will be closing the BlackBerry Support Community Forums Device Forums on April 1st (Developers, see below)

BlackBerry remains committed to providing excellent customer support to our customers. We are delighted to direct you to the CrackBerry Forums, a well-established and thorough support channel, for continued BlackBerry support. Please visit http://forums.crackberry.com or http://crackberry.com/ask. You can also continue to visit BlackBerry Support or the BlackBerry Knowledge Base for official support options available for your BlackBerry Smartphone.

"When we launched CrackBerry.com 10 years ago, we set out to make it a fun and useful destination where BlackBerry Smartphone owners could share their excitement and learn to unleash the full potential of their BlackBerry. A decade later, the CrackBerry community is as active and passionate as ever and I know our knowledgeable members and volunteers will be excited to welcome and assist more BlackBerry owners with their questions."

- Kevin Michaluk, Founder, CrackBerry.com

Developers, for more information about the BlackBerry Developer Community please review Join the Conversation on the BlackBerry Developer Community Forums found on Inside BlackBerry.


Reply
New Contributor
Posts: 2
Registered: ‎10-30-2012
My Device: 8430
My Carrier: aircel

Re: Unzip zip archive with sample - resource installer to SD Card

Will it support for gzip?

 

 

 

 

 

 

 

 

 

 

 

 

Developer
Posts: 19,636
Registered: ‎07-14-2008
My Device: Not Specified

Re: Unzip zip archive with sample - resource installer to SD Card

GZIP and ZIP are different in that the archive format is different.  The code supplied only supports ZIP archives.

 

However there is GZIP support already built in - look for the associated GZIP...  stream classes in the API.  These work well (I use these in applications).

 

One caveat, I have not specifically tested this, but I don't think the supplied code supports a GZIP archive, which you create when you have multiple files compressed sequentially using GZIP and packaged as a single GZIP file.  In this situation, I think the standard stream processing will only provide you access to the first of the files. 

Highlighted
Developer
Posts: 39
Registered: ‎01-21-2014
My Device: Blackberry curve
My Carrier: 918547626119

Re: Unzip zip archive with sample - resource installer to SD Card

Hey I'm new here and didn't get much of an Idea how to do this can you show me your code if you don't mind.... thanks 

 

Developer
Posts: 19,636
Registered: ‎07-14-2008
My Device: Not Specified

Re: Unzip zip archive with sample - resource installer to SD Card

[ Edited ]

"can you show me your code"

 

Code is attached to the first post in this Thread. 

Developer
Posts: 39
Registered: ‎01-21-2014
My Device: Blackberry curve
My Carrier: 918547626119

Re: Unzip zip archive with sample - resource installer to SD Card

that's a JDE file I was asking you about the blackberry code and the 'necessary classes' you were saying 

Developer
Posts: 19,636
Registered: ‎07-14-2008
My Device: Not Specified

Re: Unzip zip archive with sample - resource installer to SD Card

I would not install the JDE just to get this project.  Create a new project in Eclipse, copy the source files in and you should be good to go.