How to change a Bipmap variable to String Base64 with Android Studio

0

img = (ImageView) findViewById (R.id.image);

public void onActivityResult (int requestCode, int resultCode, Intent data) {         super.onActivityResult (requestCode, resultCode, data);

    if (resultCode == Activity.RESULT_OK) {
        Bundle ext = data.getExtras();
        Bmp = (Bitmap)ext.get("data");
        img.setImageBitmap(Bmp);

    }
}
    
asked by Gustavo Giuffre 20.02.2018 в 00:43
source

0 answers