Android Question Content Chooser Problem When Uploading Images

tufanv

Expert
Licensed User
Longtime User
Hello,

I am using content chooser to make user select an image and upload to my server. There are no problems uploading etc. But, When I log the Content chooser result I get:

I get content folder as : ContentDir
I get filename as : content://com.android.providers.media.documents/document/image%3A720

Alotugh real image name is different than this where it ends with.jpg. When I load the imageview with the above content information I can load it but when the user uploads the image to server it is saved in folder as image%3A720 which is not the correct file name. What am I doing wrong here?

Thanks
 
Top