Android data compression mechanism?

I am working on an Android app that compresses videos, images and text, then sends them to a server, or the other way round. My server runs on Linux so I am pretty sorted out in terms of data compression, choice of libraries and language. However, my problem lies on Android.

I've been unable to find any library that effectively handles data compression. Building one is an option of course but I have not the time. I've seen apps like Whatsapp do some data compression on Android and thought anyone might have an idea of how they do this.

Could anyone help me out please? Thanks in advance.


Take a look at

I have compiled it on Android with minor changes (I changed a String base switch statement IIRC). It is pure java with no dependencies (no required external libraries) and offer a vast choice of compression methods.

Need Your Help

What hack can I use to suppress an unused function warning?


Consider a private method which is called from JNI and not used otherwise, generating a compiler warning about an unused method:

Activities vs Fragments

android android-fragments android-activity android-tabs

I'm trying to design an application where the main mode of navigation through the application's several primary screens uses Tabs. I've basically copied the approach shown in the tutorial here: h...