base64 decoder in android in API level 7

How to decode a base64 encoded string to byte array on Android API level 7?

Can it be done using any standard packages of Java?

Should i copy the source code from google search results?

Should i re-implement encoder and decoder according to RFC?

PS: API level 8 has util package android.util.Base64 that does this, but i have to do development based on API level 7.


You can use this class,


BouncyCastle is included in Level 7.

Leave a Reply

Your email address will not be published. Required fields are marked *