Warning: file_get_contents(/data/phpspider/zhask/data//catemap/7/rust/4.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
在android中以dtmf的形式发送_Android_Dtmf - Fatal编程技术网

在android中以dtmf的形式发送

在android中以dtmf的形式发送,android,dtmf,Android,Dtmf,我正试图像这样直接打电话 String url = "tel:" +"029870125,198#"; Intent intent = new Intent(Intent.ACTION_CALL,Uri.parse(url)); 但问题是Android正在以dtmf的形式发送198,但是#没有被发送。是否需要任何特殊机制将#发送为dtmf Intent intentCallForward = new Intent(Intent.ACT

我正试图像这样直接打电话

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);