I add several images to a WebView
and images are rotated 90 degrees from what's expected.
This is because the Samsung camera shoots with .jpg photos + EXIF rotation tag.
Same images appear fine in the gallery but not in my WebView
.
String htmlWithImages = "<html> <some html>";
htmlWithImages += imageUri; // Image's content uri like content://
mWebView.loadDataWithBaseURL("", htmlWithImages, "text/html", "utf-8", "");
Is this a bug in WebView
? Any workarounds?