Commit 2623a0c2 authored by Lucas Braz Cunha's avatar Lucas Braz Cunha
Browse files

Issue AGILE#166: Function to decode from Base64


Signed-off-by: Lucas Braz Cunha's avatarLucas B. Cunha <lbc16@inf.ufpr.br>
parent 8bd544d7
......@@ -40,7 +40,7 @@ public class Utils {
BitmapFactory.decodeFile(file.getPath(), options);
return options.outWidth != -1 && options.outHeight != -1;
}
public static Bitmap decodeBase64(String encodedImage){
byte[] decodedString = Base64.decode(encodedImage, Base64.DEFAULT);
......
......@@ -5,7 +5,7 @@ buildscript {
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:2.3.0'
classpath 'com.android.tools.build:gradle:2.3.1'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment