为什么结束通话按钮在android中不起作用

时间:2014-09-08 12:01:06

标签: android

我在我的活动中使用了动作呼叫来拨打我的电话。动作呼叫正常工作但是当我按下我的手机中的结束呼叫按钮时,呼叫结束,但电话一直响铃。解决方案是什么?

Intent intent = new Intent(Intent.ACTION_CALL);
                String phone = "tel:" + "--------";
                intent.setData(Uri.parse(phone));
                startActivity(intent);

0 个答案:

没有答案