Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can i extract bz2 file in Java on Android?

Tags:

java

android

bz2

How can i extract bz2 file in Java on Android? Are any included libraries in android?

like image 381
bordeux Avatar asked Mar 31 '12 21:03

bordeux


1 Answers

My best bet would be to try Apache Commons Compress. It has a built-in bzip2 (de)compressor: example. I'm not particularly sure though it will run on Android out of the box, but worth a try I'd say.

Alternatively, you might want to take a look at the bzip2/libzip2 library compiled for Android.

like image 78
MH. Avatar answered Nov 15 '22 00:11

MH.