草庐IT

incomingcall

全部标签

android - java.lang.RuntimeException : start failed at android. media.MediaRecorder.start( native 方法)

我正在处理通话记录。当我开始录制一个电话时,不幸的是它停止了。&它给出错误MediaRecorder启动失败-2147483648。请告诉我我的代码有什么问题?这是我的代码。publicclassincomingcallextendsBroadcastReceiver{Contextc;MediaRecorderrecorder;publicincomingcall(){}@OverridepublicvoidonReceive(Contextcontext,Intentintent){c=context;try{PhoneStateChangeListenerpscl=newPhon