应用程序需要 android.permission.BROADCAST_STICKY

发布于 2024-12-29 06:03:28 字数 207 浏览 1 评论 0原文

我已经使用 Flex 4.6 / AIR 3.1 重新编译了我的应用程序,现在当我上传到 Android 市场时,它说我的应用程序正在使用“android.permission.BROADCAST_STICKY”权限。用最简单的术语来说,它是什么,我可以或应该将其关闭(它不在应用程序描述符文件中)?

顺便说一句,我在这次上传中第一次使用了强制运行时。这会不会有什么关系呢?提前致谢。

I've recompiled my app with Flex 4.6 / AIR 3.1 and now when I upload to the Android market it says my app is using a "android.permission.BROADCAST_STICKY" permission. In it's simplest terms what is it and can or should I turn it off (it's not in the app descriptor file)?

BTW I used captive runtime for the first time in this upload. Would that have anything to do with it? Thanks in advance.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

巷雨优美回忆 2025-01-05 06:03:28

似乎没有办法删除这个权限,它是编译你的 apk 时所必需的。

阅读 Adob​​e 的 Android APK 包文档
http://help.adobe.com/en_US/air/build/WS901d38e593cd1bac-4f1413de12cd45ccc23-8000.html

它有一个注释:“当您捆绑运行时时,ADT 添加了 INTERNET 和您的应用程序的 BROADCAST_STICKY 权限是 AIR 运行时所需的。”

It seems there is no way of removing this permission, its required when compiling your apk.

Read Adobe's Android APK packages documentation
http://help.adobe.com/en_US/air/build/WS901d38e593cd1bac-4f1413de12cd45ccc23-8000.html

It has a note:"When you bundle the runtime, ADT adds the INTERNET and BROADCAST_STICKY permissions to your application. These permissions are required by the AIR runtime."

起风了 2025-01-05 06:03:28

至于这个意图是什么,在另一篇堆栈溢出帖子中对此进行了描述: 什么是粘性广播至于为什么它在那里我不知道(我不认为与 captivate 捆绑会导致这个问题,尽管我认为没有它值得尝试)。

看来您可以使用压缩程序打开 apk 并编辑 AndroidManifest.xml 以查看这是否也有任何效果。

As for what is this intent it's described here in another stack overflow post: What is a Sticky Broadcast? As for why it's in there I don't have a clue (I wouldn't imagine that bundling with captivate would cause this problem though I suppose it's worth trying without it).

It seems you can probably open the apk using a compression program and edit AndroidManifest.xml to see if this is having any effect too.

漫雪独思 2025-01-05 06:03:28

AIR 3.4 似乎删除了对此的要求。

It seems AIR 3.4 removes the requirement for this.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文