Answer the question
In order to leave comments, you need to log in
Why is the image not displayed in ImageView on Samsung?
On all phones it is displayed, on Samsung it is not displayed. Here is the method responsible for displaying the image in the ImageView
@Override
protected void onPostExecute(Bitmap result) {
// Set the bitmap into ImageView
image = (ImageView) findViewById(R.id.image);
image.setLayerType(View.LAYER_TYPE_SOFTWARE, null);
image.setImageBitmap(result);
image.invalidate();
// Close progressdialog
mProgressDialog.dismiss();
}
Answer the question
In order to leave comments, you need to log in
The point was that the image in the bitmap was compiled with a url, and the url was "http" instead of "https". Some versions seem to know that a redirect is needed, some do not.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question