验证码登录改造
This commit is contained in:
@@ -6,7 +6,7 @@ import android.util.Base64;
|
||||
|
||||
public class Base64Utils {
|
||||
|
||||
public static Bitmap asdf(String imageBase64){
|
||||
public static Bitmap base64ToBitmap(String imageBase64){
|
||||
byte[] decodedString = Base64.decode(imageBase64, Base64.DEFAULT);
|
||||
return BitmapFactory.decodeByteArray(decodedString, 0, decodedString.length);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user