Android Question why contentChooser return value is diffrent?


Licensed User
I used contentChooser to choose image and vedio.

If i choose a photo from gallery, the return value is like:

But if i choose a vedio from gallery,the return value some times is a .jpg file (the vedio thumbnail) like this :
and some times like this :"content://media/external/video/media/66045"

But if i choose a vedio from a file manager,the return value is .mp4 :

Is there any way that i can get the video uri like the photo? Because i want to use the same sub to handle them.


Licensed User
Sorry!The problem is resolved!!
The problem is that some videos in the gallery are not in locate,is in the clound, the locate file is only a thumbnail.