Do I need the Internet-permission tag to provide links in an app?

非 Y 不嫁゛ 提交于 2019-12-24 05:37:07

问题


Description of the permission:

"Allows applications to open network sockets."

It doesn't seem like I need this permission since it seems like if you try to do something that requires specific permission-tags and you don't have that tag, you'll end up with an error message. Also, it seems weird that links would somehow enable a disabled internet connection.

I just want to be 100% sure, since this permission can scare people.

And just to clarify:

I have a list of clickable items. When you click one of them, a browser is opened and you are sent to a page.


回答1:


If you are sending an intent which is handled by a browser application, your application does not need internet permission.

If you are opening a webview within your own application, then it does.



来源:https://stackoverflow.com/questions/6218231/do-i-need-the-internet-permission-tag-to-provide-links-in-an-app

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!