首页 > 解决方案 > 在 Android 中使用 ACTION_DIAL 可以同时拨打两个特殊符号

问题描述

我想以编程方式打开拨号盘并一起写(*+),但是当我运行应用程序时我只得到一个字符下面是我的代码:-

  Intent notificationIntent = new Intent(Intent.ACTION_DIAL);
            notificationIntent.setData(Uri.parse("tel:" + Uri.encode("* + ")));
            notificationIntent.setFlags(FLAG_ACTIVITY_NEW_TASK);

标签: javaandroid

解决方案


推荐阅读