简体   繁体   English

我希望在浏览器中打开外部链接

[英]I want external links to open in my browser

I want to external link to open within my app not ask me to open them in Google Chrome or the standard Internet app. 我想在应用程序中打开外部链接,而不要我在Google Chrome或标准Internet应用程序中打开它们。 Like when I click a link I want my browser app to set it to default or use it just once. 就像我单击链接一样,我希望我的浏览器应用将其设置为默认值或仅使用一次。 Thanks! 谢谢! I code in Android Studio. 我在Android Studio中编码。

You need to define the intent filter for your app, if your app has link opening functionality. 如果您的应用程序具有链接打开功能,则需要为其定义意图过滤器。 This guide should be helpful for you. 指南应该对您有所帮助。

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

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