Using iHarder.net implementation of base64 to reduce dependencies.  Android lint does not like apache commons references and java.xml.bind.* references.  iHarder's implementation is also much faster: http://java-performance.info/base64-encoding-and-decoding-performance/