繁体   English   中英

在Android中将#作为dtmf发送

[英]Sending # as dtmf in android

我正尝试像这样直接拨打电话

String url = "tel:" +"029870125,198#";                              
Intent intent = new Intent(Intent.ACTION_CALL,Uri.parse(url));

但是问题是Android以dtmf形式发送198 ,但是没有发送# 有什么特殊的机制需要发送#作为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.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM