Hi I have done this task. But I have to clarify some thing. I did this encryption and decryption like this Now shat my question is, If I import android.util.Base64 to my working class is enough for encoding and decoding or I have to include Base64.java class. When I remove Base64.java class it also works finely. So what is the purpose of Base64.java class? Can any body clarify me? Thanks in advance.
Share
android.util.Base64 was added in API version 8 or android 2.2 so it will not be available on the older platforms to support Base 64 in older platforms you need to copy but the source of android/util/Base64.java and use it.