オーディオを 3gp 形式で録音し、SD カードに保存しています。これは私のコードであり、正常に実行されます。追加した画像がアルバム カバーになるように、そのオーディオ ファイルに画像を追加する必要があります。 AndroidのデフォルトのメディアプレーヤーでSDカードの場所から録音されたオーディオを再生します..このように..

写真に示されている画像は、録音したオーディオ ファイルに付けなければならないアルバム カバーです。
/**
* Starts a new recording.
*/
public void start() throws IOException {
String state = android.os.Environment.getExternalStorageState();
if (!state.equals(android.os.Environment.MEDIA_MOUNTED)) {
throw new IOException("SD Card is not mounted. It is " + state
+ ".");
}
// make sure the directory we plan to store the recording in exists
File directory = new File(path).getParentFile();
if (!directory.exists() && !directory.mkdirs()) {
throw new IOException("Path to file could not be created.");
}
recorder.setAudioSource(MediaRecorder.AudioSource.MIC);
recorder.setOutputFormat(MediaRecorder.OutputFormat.THREE_GPP);
recorder.setAudioEncoder(MediaRecorder.AudioEncoder.AMR_NB);
System.out.println("audio_file_path : = " + path);
recorder.setOutputFile(path);
recorder.prepare();
recorder.start(); // Recording is now started
}