javaandroidbz2

How can i extract bz2 file in Java on Android?


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


Solution

  • 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.