Iam using base64 encoding for authentication to contact a dot net server and for image decoding. what library should i include for this. iam bit confused here. can someone help me
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Android has inbuilt library for Base64, check following link
http://developer.android.com/reference/android/util/Base64.html
It is available from API version 8.
If your application supports lower than API 8 then you can use following library
http://commons.apache.org/codec/apidocs/org/apache/commons/codec/binary/Base64.html
OR
you can use official Android Open Source code.
http://grepcode.com/file/repository.grepcode.com/java/ext/com.google.android/android/2.2_r1.1/android/util/Base64.java