来自锁屏的Intent Chrome浏览器不起作用

时间:2015-05-23 16:49:37

标签: android google-chrome

同样的问题:Android Google Chrome not firing after lockscreen app 但这个问题并没有成功。我无法重温它。

我可以用

try {
    Thread.sleep(5000);
} catch (InterruptedException e) {
    e.printStackTrace();
}
Intent browserIntent = new Intent(Intent.ACTION_VIEW, Uri.parse(url));
startActivity(browserIntent);
finish();

所有的作品。但需要等待5000秒:(

我认为这是Google Chrome for Android中的错误。

1 个答案:

答案 0 :(得分:0)

我遇到了同样的问题,我认为这是Chrome中的一个错误。但是我找到了一个解决方法Android lock screen notification is not able to open Browser on double tapping

让我知道这是否适合您。

相关问题