Back to project page StreamHub-Android-Reviews-App.
The source code is released under:
MIT License
If you think the Android project StreamHub-Android-Reviews-App listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package livefyre.streamhub; //www . j a v a2 s . co m import android.util.Base64; import java.io.UnsupportedEncodingException; public class Helpers { public static String generateBase64String(String inString) throws UnsupportedEncodingException { byte[] byteTransform = inString.getBytes("UTF-8"); return Base64.encodeToString(byteTransform, Base64.NO_WRAP); } }