1
回答
Android 录音机onActivityResult报错

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 }}

举报
TracyZhang
发帖于6年前 1回/2K+阅
顶部