I am trying to display an image encoded in base64 in a WebView. It's working for most of my users but a few are seeing only weird characters, like shown in the image below.
This is how I display the image:
String b64Image = Base64.encodeToString(fileData, Base64.DEFAULT);
mWebView.loadData(b64Image, "image/jpeg", "base64");
The problem occurs on android version 2.3.6 and lower.