简体   繁体   English

单击推送通知后的打开活动

[英]Open activity after push notification clicked

Hey can you help me with your final code for the broadcastreceiver which opens links to the browser when clicked? 嘿,您能帮我提供您的Broadcastreceiver的最终代码,该代码在单击时打开指向浏览器的链接吗? i'm having a little trouble. 我有点麻烦。

Intent browserIntent = new Intent(Intent.ACTION_VIEW, Uri.parse("https://your weblink here"));
                startActivity(browserIntent);

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM