Android Question Take Video. Button not enabled - (Disabled)


Active Member
Licensed User
Longtime User
When use VideoApp for take video, in any phones the record button is not enabled.

sAMSUNG gALAXI NOTE 8 (button not enabled).. the button are enabled 1 second and disabled with no interaction
In Xiaomi Mi A1 are ok.

Sub Process_Globals 'IN MODGENERAL'
    'These global variables will be declared once when the application starts.
    'These variables can be accessed from all modules.
    Public videoApp As VideoRecordApp

private Sub TakeVideo
    modGeneral.videoApp.Initialize("video") 'video is a process global VideoRecordApp variable.
    Dim folder As String =  Starter.Provider.SharedFolder
    Dim FileName As String =VideoFileName ' "1.mp4"
    'modGeneral.videoApp.Record3(folder, FileName ,  -1,  Starter.CreateFileProviderUri (folder,FileName))
    modGeneral.videoApp.Record3(folder, FileName ,  -1, Starter.provider.GetFileUri(VideoFileName))

    Wait For Video_RecordComplete (Success As Boolean)
    If Success Then
    ''    SaveRutaFotoEnDB(folder,FileName)
        'Example of playing the recorded video
'        Dim in As Intent
'        in.Initialize(in.ACTION_VIEW, "")
'        Starter.Provider.SetFileUriAsIntentData(in, FileName)
'        in.SetType("video/*")
'        StartActivity(in)
    End If
End Sub
Last edited:


Active Member
Licensed User
Longtime User
I don't know the cause, i read that some applications TAKE the control over CAMARA.
If know the causa, a put in this message the cause.

i go to anulate all permission to other application.

Upvote 0