Which library should I use for base64 encoding / decoding

Iam using base64 encoding for authentication, to connect to a network point server and to decode images. which library should I include for this. I'm a little confused here. can anyone help me

+3
source share
3 answers

Android has a built-in library for Base64, check the following link

http://developer.android.com/reference/android/util/Base64.html

It is available from API version 8. If your application supports below API 8, you can use the following library http://commons.apache.org/codec/apidocs/org/apache/commons/codec/binary/Base64.html

OR

Android Open Source . http://grepcode.com/file/repository.grepcode.com/java/ext/com.google.android/android/2.2_r1.1/android/util/Base64.java

+9

, , Apache Commons Codec. API , ( , ). Java, . .

EDIT: , , , :)

+3

- Android 2.2 , android.util.Base64.

+2

All Articles