Android Question AudioRecorder records to default location


Active Member
Licensed User
Longtime User
Hi falks
i'm using this simple code to record voice

Sub recaudio(filename As String)
If sets = True Then
    If File.Exists(File.DirRootExternal,"/speak/" & filename) Then
        File.Delete(File.DirRootExternal,"/speak/" & filename)
    End If       
                    audioRecorder.Record(File.DirRootExternal, "/speak/" &  filename)

End If
End Sub

After i finish recording and click stop , the recorder screen exits but i doesnt send me back to my app... i cant even find my app in the recent task list. the audiofile is recorded to my documents/myrecordings/audio00xx.aac instead of the desired location.

what am i doing wrong here.