Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

base64.decode android

// Sending side
byte[] data = text.getBytes("UTF-8");
String base64 = Base64.encodeToString(data, Base64.DEFAULT);

// Receiving side
byte[] data = Base64.decode(base64, Base64.DEFAULT);
String text = new String(data, "UTF-8");
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #android
ADD COMMENT
Topic
Name
3+2 =