转换PNG或JPG图像的Base64字符串中的Andr​​oid

转换PNG或JPG图像的Base64字符串中的Andr​​oid

问题描述:

在我的应用程序,我需要将图像转换为Base64格式。 任何人都可以请让我知道我该怎么办呢?

In my Application, I need to convert Image to Base64 format. Could anyone please let me know how can I do that?

请提出您宝贵的意见。

在此先感谢:)

Android有一类这样做的。

Android has a class for doing this.

http://developer.android.com/reference/android/util/ Base64.html