darsh2 / MultipleImageSelect

Android library that provides for multiple image selection.
Apache License 2.0
300 stars 112 forks source link

Grant Permission not working #25

Open bhavinsetubridge opened 8 years ago

bhavinsetubridge commented 8 years ago

Hello Please add read external storage permission for all device version.i cant read images from device when sdk build it below ics,.

efrencnclose5 commented 8 years ago

i had the same issue, seems like there are some cases when the handler is null:

java.lang.RuntimeException: Failure delivering result ResultInfo{who=@android:requestPermissions:, request=23, result=0, data=Intent { act=android.content.pm.action.REQUEST_PERMISSIONS (has extras) }} to activity {com.myapp.example/com.darsh.multipleimageselect.activities.AlbumSelectActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'android.os.Message android.os.Handler.obtainMessage()' on a null object reference

so it crashs.

darsh2 commented 8 years ago

I have updated the permission request logic. Can you try it out and see if error still persists?