Android Question why contentChooser return value is diffrent?

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

  1. fash866

    fash866 Member Licensed User

    Hi:
    I used contentChooser to choose image and vedio.

    If i choose a photo from gallery, the return value is like:
    "content://media/external/images/media/60294"

    But if i choose a vedio from gallery,the return value some times is a .jpg file (the vedio thumbnail) like this :
    "/storage/emulated/0/DCIM/Camera/......./xxx_thumbnail.jpg"
    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 :
    "/storage/emulated/0/DCIM/Camera/VID_20150421_111916.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.
     
Loading...
  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