完整网络访问权限说明:
Network communication
Allows the app to create network sockets and use custom network protocols. The browser and other applications provide means to send data to the internet, so this permission is not required to send data to the internet.
我已经检查了问题here和 here但看起来他们没有考虑这个描述。
在不使用 android.permission.INTERNET 的情况下,有哪些可能的方式(除了向浏览器发送 Intent 之外)将数据发送到互联网?
Google 员工对此描述有何意义?
最佳答案
我认为它们意味着您可以为其他具有网络功能的应用程序(例如浏览器、连接到互联网的其他应用程序)创建一个隐式 Intent ,这样您就可以发送数据,但具有固有的限制。
该描述取自 android.permission.INTERNET
定义。
编辑
一个例子是通过隐式 Intent 发送的文本消息。它可以通过 whatsapp 或其他互联网消息服务发送,无需您提到的许可。
关于android - 如何在没有 android.permission.INTERNET 的情况下将数据发送到互联网,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/46052177/