📜  Android 基础知识 02.3:隐式意图打开网站将不起作用 - TypeScript 代码示例

📅  最后修改于: 2022-03-11 14:48:24.451000             🧑  作者: Mango

代码示例1
if (intent.resolveActivity(getPackageManager()) != null) {
            startActivity(intent);
        } else {
            Log.d("ImplicitIntents", "Can't handle this intent!");
        }