08-18-2013 08:09 AM
I'm quite new to programming...
I'm using eclipse to learn developing blackberry...
I need to use import java.io.bufferedoutputstream
but it's no exist...
Anyone know solution about this?
Solved! Go to Solution.
08-18-2013 08:15 AM
BlackBerry API does not support the full set of Java classes, It is restricted to those that are defined for J2ME and a load of additional BBRY added classes. For a full list of the supported classes, see here:
08-18-2013 10:01 AM
It is not a supported class.
If you need that functionality, you will have to create your own class using the supported classes. Alternatively replace the class with a supported one.
In this specific example, I suspect the processing should work the same with an ordinary OutputStream.
08-18-2013 10:49 AM
I can't see why you need that specific class to unzip a file. But I presume you are trying to re-use some existing zip library and don't what to change it? If so, sorry, you are going to have to change it. It would surprise me if that was the only class you had to change.
If you search the forum you will find a few Threads that might help you unzip your file.
08-18-2013 11:18 AM - edited 08-18-2013 11:20 AM
Just for clarification, when people talk about unzipping,they are normally referring to archives created by one of the many 'zip' utilities, which create a file format originally defined by the product pkzip.
There is no way to unzip such a zip archive supplied as standard - BlackBerry Java does not provide anything that will do it for you.
So you have two choices:
a) write it yourself
b) use a third party library.
Search for unzip to find Threads that have discussed these and other related points in the past.
In case you have missed it, the Search box is near the top right hand side of the screen you are looking at. Leave the pull down on 'Board', just fill in the Search text box and press the Search button.