How to record a call in android? -
recorder = new mediarecorder(); recorder.setaudiosource(mediarecorder.audiosource.mic); recorder.setoutputformat(mediarecorder.outputformat.raw_amr); recorder.setoutputfile(filename); recorder.setaudioencoder(mediarecorder.audioencoder.amr_nb); this code , not able record voice of other person.so should use instead of audiosorce.mic. plz me
sorry disappoint you, can't, not in general case. android running phones have wiring in hardware/firmware media of call not pass through application processor @ - goes audio dsp , vice versa, cannot access it.
you can catch audio of person using phone, not other way around, disregarding silly hacks asking person use speakers , recording sound there via phone mic...
Comments
Post a Comment