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

Popular posts from this blog

sublimetext3 - what keyboard shortcut is to comment/uncomment for this script tag in sublime -

java - No use of nillable="0" in SOAP Webservice -

ubuntu - Laravel 5.2 quickstart guide gives Not Found Error -