Android Question why contentChooser return value is diffrent?

Discussion in 'Android Questions' started by fash866, Apr 21, 2015.

  1. fash866

    fash866 Member 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.
  2. fash866

    fash866 Member 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.
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice