簡體   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