Android 录音机onActivityResult报错

TracyZhang 发布于 2012/08/09 17:09
阅读 2K+
收藏 0

Intent intent = new Intent(Intent.ACTION_GET_CONTENT);

intent.setType("audio/amr");

startActivityForResult(intent, RESULT_CAPTURE_RECORDER_SOUND);

启动录音机后,录完音保存不会自动返回,我按回退键就报错了:

 

Failure delivering result ResultInfo{who=null, request=3, result=-1, data=Intent { dat=file:///sdcard/Audio/Record/recording_20090107084834.amr }}

返回顶部
顶部