java - 在 Android 中使用 ACTION_DIAL 可以同时拨打两个特殊符号
问题描述
我想以编程方式打开拨号盘并一起写(*+),但是当我运行应用程序时我只得到一个字符下面是我的代码:-
Intent notificationIntent = new Intent(Intent.ACTION_DIAL);
notificationIntent.setData(Uri.parse("tel:" + Uri.encode("* + ")));
notificationIntent.setFlags(FLAG_ACTIVITY_NEW_TASK);
解决方案
推荐阅读
- r - 如何从 R 中的绘图元素中提取原始数据
- php - 如何链接到 ACF 关系“父级”
- tfs - 使用 TFS API 获取测试用例结果/结果
- python - 使用 postgresql 和 sql alchemy 在 python 中绑定聚合函数
- vba - 将数据从多个工作表复制到excel vba中的主工作表中
- node.js - 我在使用 Promise 摆脱异步效果时遇到了麻烦
- xml - 从文件中获取 XML 映射并将新数据导出到 XML - 由于错误而无法工作
- javascript - JQuery、FileSaver 和 SheetJS
- hyperledger-fabric - 订购服务是做什么的?
- c# - C# ssh.net 库,cd 命令不起作用(无法发送“/”)