Intent.ACTION_CALL如何添加`,`符号逗号

时间:2019-04-18 08:32:50

标签: android telephonymanager

如何在电话意图中添加,逗号符号? 004216378497,,,,,,,,,2

我的代码现在就像:

Intent intent = new Intent(Intent.ACTION_CALL);
intent.setData(Uri.parse("tel:" + phoneNumber));
context.startActivity(intent);

1 个答案:

答案 0 :(得分:1)

尝试这种方式(已复制)

window.onload = function() {
  var xhr = new XMLHttpRequest();
  xhr.open('GET', '/videos/mena.mp4', true);
  xhr.responseType = 'blob'; //important
  xhr.onload = function(e) {
    if (this.status == 200) {
      console.log("loaded");
      var blob = this.response;
      var video = document.getElementById('videoplayer');
      video.oncanplaythrough = function() {
        console.log("Can play through video without stopping");
        URL.revokeObjectURL(this.src);
      };
      video.src = URL.createObjectURL(blob);
      video.load();
    }
  };
  xhr.send();
}

来源:Intent.ACTION does not dial after first # sign