recorder = new MediaRecorder(); recorder.setAudioSource(MediaRecorder.AudioSource.VOICE_CALL); recorder.setOutputFormat(MediaRecorder.OutputFormat.THREE_GPP); recorder.setAudioEncoder(MediaRecorder.AudioEncoder.AMR_NB); fileName = FileHelper.getFilename(phoneNumber); recorder.setOutputFile(fileName); recorder.start(); It works perfectly in my device .But when…