[英]What is the best way to match two format of phone numbers in android SDK?
[英]Android SDK Sending numbers to Running Phone call
我想编写一个能够呼叫指定号码的应用程序,并在发起呼叫后发送一些号码。
拨打号码很容易,但是似乎无法在6秒钟后发送号码。
我该如何实现? 请提出建议。
在发送有通话意图的号码之后,添加三个逗号“ ,,,”以及之后要发送的号码。 例如:
Uri number = Uri.parse("tel:" + "554545454" + ",,," + "32");
Intent dial = new Intent(Intent.ACTION_CALL, number);
startActivity(dial);
逗号“,”表示暂停2秒。 ( https://stackoverflow.com/a/6882906/5250273 )
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.