android-image-picker icon indicating copy to clipboard operation
android-image-picker copied to clipboard

how to get uri from images (getPath() return null when upload to server)

Open tranquoctrungcntt opened this issue 6 years ago • 4 comments

how to get uri from images (getPath() return null when upload to server)

tranquoctrungcntt avatar Feb 23 '19 09:02 tranquoctrungcntt

What do you mean "when upload to server"?

esafirm avatar Feb 25 '19 04:02 esafirm

when i Log.d these Uri, it's fine, but when putFile with Firebase it crash and say null. I will try again and tell you the detail.

tranquoctrungcntt avatar Feb 25 '19 08:02 tranquoctrungcntt

What do you mean "when upload to server"?

He want to get the Uri of image capture from Camera or Gallery

grabcityinfo avatar Feb 26 '19 07:02 grabcityinfo

same issue here.. im getting null when selecting image

Uri img = data.getData();

rupertbulquerin avatar Sep 17 '19 02:09 rupertbulquerin

Uri img = data.getData();

AFAIK this is deprecated and we internally don't use it as well.

Closing this issue

esafirm avatar Nov 19 '22 23:11 esafirm