我想記錄來自android手機的通話。 我正在使用android.media.MediaRecorder pckg。如何在android中錄製呼叫?可能嗎?
還用下面的代碼:
mrec.setAudioSource(MediaRecorder.AudioSource.VOICE_CALL);
mrec.setOutputFormat(MediaRecorder.OutputFormat.THREE_GPP);
mrec.setAudioEncoder(MediaRecorder.AudioEncoder.AMR_NB);
但我並沒有在記錄來電成功。 任何人都可以推薦一個經過測試的代碼片段嗎?
另外, 這是真的嗎? http://groups.google.com/group/android-developers/browse_thread/thread/c2bc85eb60ae2aa5?pli=1 http://code.google.com/p/android/issues/detail?id=2117#c226
大多數州是一方的通知,同樣與一些歐盟國家:HTTP://en.wikipedia。 org/wiki/Telephone_recording_laws – Anders 2011-02-01 13:16:30
不確定因爲此,我認爲MediaRecorder.AudioSource.VOICE_CALL API不起作用。想法? – onkar 2011-02-01 14:21:28