coomar2841 / image-chooser-library

An Easy Image/Video Chooser Library for your Android Apps
646 stars 193 forks source link

Picking image fails using external storage on Lollipop #51

Closed Jaymassena closed 8 years ago

Jaymassena commented 9 years ago

This may not be limited to lollipop. The image is stored on the device in Pictures/Instragram. Using the "Images" provider succeeds and this is the returned uri: content://com.android.providers.media.documents/document/image%3A13194

Using the "Internal storage" provider to pick the same image fails with error toast "Couldn't process a null file". Here is the returned uri: content://com.android.externalstorage.documents/document/primary%3APictures%2FInstagram%2FIMG_20141104_183552.jpg

coomar2841 commented 9 years ago

How do you get to choose the Internal Storage?

Jaymassena commented 9 years ago

Here is a screen shot of the document browser after opening it from the image chooser demo app. The option to hide or show the internal storage item is in the overflow menu items:

device-2015-01-26-074040

coomar2841 commented 9 years ago

Thanks... Will look into this soon.

darjidhruvit commented 9 years ago

any update for lollipop ? i get null every time when i picked up image from gallery or photos

coomar2841 commented 8 years ago

Fixed. Will be released with 1.5.0