Support Center

BinaryDrawable for Android: easily bundle small images into Android JAR files

Last Updated: Dec 04, 2013 06:58PM EST

TL;DRBinaryDrawable is a simple library to let you convert image files into Java source files for the Android platform.

Hipmob provides an SDK for helpdesk and real-time customer support that can be added to any mobile app; it's as simple as downloading our libraries for iOS or Android, integrating them into your apps with an app key we provide and then your app has a help desk and live chat (so your users can find help for any issues they are having or talk to you without having to leave your app). No server setup or code to write, just real time communication that scales with you.

On the Android platform our SDK is really simple: we provide a JAR file that has the implementations of the helpdesk, contextual help and live chat Activity classes, as well as a number of support classes. But: we have icons we use in the Activity classes, and we really didn't want to have to use an Android library project. We like the simplicity of just using a single JAR file. In the desktop Java world, distributing images and other non-code resources inside JAR files is fairly common. However on Android the build tools process any JAR files and only include class files in the final output: resources need to go into the res folder. For most libraries you can use a library project to have your resources included, but for an extra 10kB of images that seemed excessive to us.

Read More Here
seconds ago
a minute ago
minutes ago
an hour ago
hours ago
a day ago
days ago
Invalid characters found