可能系统的录音不解析你这个uri 只是接受这个intent 然后开始录音

解决方案 »

  1.   

    MediaRecorder mRecorder;
    private void startRecording() {
    mRecorder = new MediaRecorder();
    mRecorder.setAudioSource(MediaRecorder.AudioSource.MIC);
    mRecorder.setOutputFormat(MediaRecorder.OutputFormat.THREE_GPP);
    mRecorder.setOutputFile(getOutFile().getPath());
    mRecorder.setAudioEncoder(MediaRecorder.AudioEncoder.AMR_NB);
    try {
    mRecorder.prepare();
    } catch (IOException e) {
    }
    mRecorder.start();
    }