Android Question Video Record App only saves in DCIM folder

Discussion in 'Android Questions' started by Francisco Barbosa, Feb 28, 2015.

  1. Francisco Barbosa

    Francisco Barbosa Member Licensed User

    I'm trying to record some videos using the audio library and the VideoRecordApp object, and try to save to a specific folder, but the video is only saved in the DCIM folder with another name, likes VID_2015???.

    In some devices it runs OK, but another...
    Is there anyway to get the path or last file from camera??

    Here´s part of the code:

    sub Process_Globals
    Dim The video VideoRecordApp
    ...

    Sub record ()
    video.Initialize ("video")
    video.Record2 (File.DirDefaultExternal, "video123", 5)
    ...

    Could someone help me??
    Thanks.
     
    Last edited: Feb 28, 2015
  2. Erel

    Erel Administrator Staff Member Licensed User

    VideoRecordApp tries two things:
    1. Set the destination path (only supported on Android 4.3+).
    2. If the video file was saved to a path other than the chosen path then it will copy the file to the correct path.

    If you still don't see the video file in the destination path then the video recording app didn't return the correct path in the intent result.
     
  3. Francisco Barbosa

    Francisco Barbosa Member Licensed User

    Yes, you have reason - the version I use is 4.1.1.
    I created the code as its orientation and that's OK.
    Thank U.
     
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