[英]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.