Android Question Videorecord with audio library

Discussion in 'Android Questions' started by Prosg, Jul 19, 2015.

  1. Prosg

    Prosg Active Member Licensed User


    I use the audio library for videorecord but i want to handle this 2 buttons (see screenshot)

    1. How can i do this ?

    2. I have a strange issue, when i'm in debug mode the file mp4 is save... when i'm release mode click "Enregistrer" (save mp4) will restart my App :( without error msg and without save mp4


    Attached Files:

    Last edited: Jul 19, 2015
  2. Erel

    Erel Administrator Staff Member Licensed User

    1) Not sure that I understand the question.
    2) Add a service to your app and call Service.StartForeground before you call Video.Record.
    This way the process will not be killed while it is in the background.