Re: [android-developers] Runtime Exception in MediaRecorder.setAudioSource() method

2010-11-24 Thread TreKing
On Tue, Nov 23, 2010 at 6:15 AM, David_Fisher davidfsh...@gmail.com wrote: But right after this when i do the mediaRecorder.setAudioSource(MediaRecorder.setAudioSource.MIC), I get a RunTime exception. And the exception and stack trace is what exactly?

[android-developers] Runtime Exception in MediaRecorder.setAudioSource() method

2010-11-23 Thread David_Fisher
Hi, I have a service that has a broadcast receiver which listens to Phone state changes. When i receive an incoming call, i get an instance of the AudioManager class and set the speakerphone to true. But right after this when i do the mediaRecorder.setAudioSource(MediaRecorder.setAudioSource.MIC),