Intent intent = new Intent(Intent.ACTION_DIAL, Uri.parse("tel:" + number)); intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK); startActivity(intent);
快速调用打电话界面 隐式意图
最新推荐文章于 2021-12-01 15:48:01 发布
Intent intent = new Intent(Intent.ACTION_DIAL, Uri.parse("tel:" + number)); intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK); startActivity(intent);