Android 拨打电话,访问浏览器
1.拨打电话
Intent intent = new Intent(Intent.ACTION_CALL, Uri.parse("tel:" + phone));
context.startActivity(intent);
2.访问浏览器
val intent = Intent()
intent.action = "android.intent.action.VIEW"
val parse = Uri.parse("http://www.baidu.com")
intent.data = parse
startActivity(intent)