如何连接code使用Base64字符串中的Android? [英] How to encode a string with Base64 in Android?
本文介绍了如何连接code使用Base64字符串中的Android?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
可能重复:
Base64的EN codeR和去codeR
我试图连接code使用Base64的URL。有没有什么办法可以连接code用的Base64在Java / Android的?
I am trying to encode a Url with Base64. Is there any way to encode it with Base64 in java/android?
我需要在PHP类似base64_en code(某事)函数。
I need something similar to base64_encode() function in PHP.
推荐答案
我可以使用类在这个环节要解决的问题:
I was able to solve the problem using the class in this link:
http://iharder.sourceforge.net/current/java/base64/
这篇关于如何连接code使用Base64字符串中的Android?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文