如何从应用程序打开外部Google Plus链接?

时间:2016-08-10 22:43:18

标签: android

如何在自己的应用中打开外部Google Plus链接?即。 Chrome,G +应用。 我试过用这样的东西:

    String url = "https://plus.google.com/+google";
    Intent browserIntent = new Intent(Intent.ACTION_VIEW, Uri.parse(url));
    startActivity(browserIntent);

首先看起来它启动了G +应用程序但是如果你按下任务切换器,你会看到链接实际上在你自己的应用程序中加载。

0 个答案:

没有答案