3
I have an app in Android Studio and would like to use Base64 image in Imageview and Imagebutton.
I already know how to convert the image (from Drawable folder) to String, but I don’t know how to apply this as background to my items.
Is there how? Or is there how I take a String of a converted Base64 image on the Internet and apply as image inside Android Studio?
It’s not very clear to me what you want to do. I think two different problems. From what I understand, you have an image in the Drawable folder and want to put it as the background of its elements. Where does Base64 come into this? Also, you’re talking about taking a Base64 image on the Internet and applying it to your items. It’s a more concrete problem, but this is something dynamic-- it’s not something you’ll do on an Android Studio option and yes via code, right?
– Pablo Almeida