Issue tracking repo for Simple System Monitor app.
28
stars
11
forks
source link
function OnStart() { rec = app.CreateAudioRecorder(); rec.SetFile( "/sdcard/demofile.wav" ); rec.Start(); app.ShowPopup( "Please speak" ); setTimeout( StopRecording, 5000 ); } function StopRecording() { rec.Stop(); app.ShowPopup( "Finished recording. Now playing" ); ply = app.CreateMediaPlayer(); ply.SetFile( file ); ply.SetOnReady( ply.Play ); } #22
Open
CharlesLN86980 opened 4 years ago
rec = app.CreateAudioRecorder(); rec.SetFile( "/sdcard/demofile.wav" ); rec.Start(); log.txt