android - Loading image from phone's album into ImageView does not work -
i trying load image phone's album imageview. here code:
intent intent = getintent(); filename = intent.getextras().getstring("file"); assert filename != null; file f = new file(filename); picasso.with(addcaptionactivity.this) .load(f) .into(image);
running code on android phones works fine. on 1 android 1 phone running android 6, image not load @ all. loading image url web same imageview on same phone works, loading album not work.
i these in logcat during process:
i/maliegl: [mali]window_type=1, is_framebuffer=0, errnum = 0 i/maliegl: [mali]surface->num_buffers=4, surface->num_frames=3, win_min_undequeued=1 i/maliegl: [mali]max_allowed_dequeued_buffers=3
i tried same thing using fresco library , didn't work.
what reason kind of behaviour , how can fix this?
Comments
Post a Comment