I am trying to encode and decode a String using android.util.Base64, but it gives a bad base-64 error.
The code with the problem is:
private byte[] base
It hit me, if in any case your are splitting the data & the encoding it, then decode it first before putting it back together.. Stupidly I was doing decode after collation of data that left me "bad-base-64" as each block of encode data had file enders(==).
This is Linkis handy anyways to validate the encoding and decoding.