我有youtube按钮,它将打开一个特定的*频道*我希望它在youtube*应用程序*中打开,以便从我的应用程序访问一个频道.
Intent intent = new Intent(Intent.ACTION_VIEW , Uri.parse("https://www.youtube.com/channel/UCRmoG8dTnv0B7y9uoocikLw"));
context.startActivity(intent);
Run Code Online (Sandbox Code Playgroud)
但它在浏览器中打开.