Please do someone know if Android Audio Recorder should work with Android 10 ? I just get some error I do not understand :
androidRecorderStartRecording
androidRecorderStopRecording909,0,0
909,0,0
573,22,1
Record573,3,1
Code: Select all
on mouseUP
put androidHasPermission("android.permission.RECORD_AUDIO") into n1
if not n1 then
androidRequestPermission "android.permission.RECORD_AUDIO"
end if
put androidHasPermission("android.permission.WRITE_EXTERNAL_STORAGE") into n2
if not n2 then
androidRequestPermission "android.permission.WRITE_EXTERNAL_STORAGE"
end if
put androidHasPermission("android.permission.CAPTURE_AUDIO_OUTPUT ") into n3
if not n3 then
androidRequestPermission "android.permission.CAPTURE_AUDIO_OUTPUT "
end if
local tFilePath
put specialFolderPath("documents") & slash & "recording.aac" into tFilePath
try
androidRecorderStartRecording tFilePath
catch tError
answer tError
end try
end mouseUP
Code: Select all
on mouseUP
try
androidRecorderStopRecording
catch tError
answer tError
end try
end mouseUP
Many thanks for any tip.