[英]Sending # as dtmf in android
I'm trying to make a call directly like this 我正尝试像这样直接拨打电话
String url = "tel:" +"029870125,198#";
Intent intent = new Intent(Intent.ACTION_CALL,Uri.parse(url));
but the problem is that Android is sending 198
as dtmf
, but the #
is not being sent. 但是问题是Android以
dtmf
形式发送198
,但是没有发送#
。 Is there any special mechanism needed to send #
as dtmf
? 有什么特殊的机制需要发送
#
作为dtmf
吗?
Intent intentCallForward = new Intent(Intent.ACTION_CALL);
Uri uri = Uri.fromParts("tel", phoneNumber, "#");
intentCallForward.setData(uri);
startActivity(intentCallForward);
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.