这是我的代码的一部分:设置新的android路径
mediaRecorder.setVideoSource(MediaRecorder.VideoSource.DEFAULT);
CamcorderProfile camcorderProfile_HQ = CamcorderProfile.get(CamcorderProfile.QUALITY_HIGH);
mediaRecorder.setProfile(camcorderProfile_HQ);
mediaRecorder.setOutputFile("/sdcard/Video.mp4");
mediaRecorder.setMaxDuration(600000000); // Set max duration 60 sec.
mediaRecorder.setMaxFileSize(500000000); // Set max file size 5M
全班记录从活凸轮视频到SD卡。但是,因为我总是用相同的路径保存它,所以我录制的一个新视频覆盖了前一个视频。我怎样才能改变每次用新名称保存的路径,或者以哪些视频不相互覆盖的方式?
我明白了。谢谢 :) – Linda 2013-03-13 11:41:17