Thursday, 21 February 2013

Apk Expansion Android Using JOBB

Hi Friends,

I am back with another post related to android apk expansion.

As you all are familiar with android application(apk) size limit(50MB).

However, some apps need more space for high-fidelity graphics, media files, or other large assets. Previously, if your app exceeded 50MB, you had to host and download the additional resources yourself when the user opens the app. Hosting and serving the extra files can be costly, and the user experience is often less than ideal. To make this process easier for you and more pleasant for users, Google Play allows you to attach two large expansion files that supplement your APK.

Apk Expansion Android

To use apk expansion android itself provide library which are in your sdk at path

To use apk expansion in your application you need to import these library into your workspace

Here I am providing these library as a zip. You can directly download these and import.

But the major problem with apk Expansion is data security.

Because the obb file is download at shared storage in device so there is possibility of data theft.

To overcome this problem Google provide a tool named JOBB which is at location android-sdk/tools/jobb.

By using this tool you can encrypt your obb data with a key and after downloading the file your can access these file by using Storage Manager above api 9.

Linux Command to encrypt your obb....

Development/tools/android-sdk-linux/tools$ ./jobb -d path_to_your_data/ -o path_to_your_obb/main.ver_no.pkg_name.obb -k your_key -pn app_pkg_name -pv app_pkg_ver_name

Now the obb file created by this way is fully secure. Upload your application on Google Play and upload main file also to test the application

Download Sample Example here.
Download Library here

Friday, 8 February 2013


Slider-Drawer in android is a nice and useful widget. But by default slider flow from bottom to top, but when we give horizontal orientation to it , it's flow of sliding will be right to left . But if you need it's flow from left to right or top to bottom then you can use this sample.

You can download the source code for here