- 语法:
-
<queries> <package android:name="string" /> <intent> ... </intent> <provider android:authorities="list" /> ... </queries>
- 包含于:
<manifest>
- 说明:
指定应用要与之互动的一组其他应用。这些其他应用可以通过软件包名称、通过 intent 签名或通过提供程序授权指定,具体如此页面的后文部分所述。
注意:有些软件包自动可见。您的应用始终可以在查询其他已安装的应用时看到这些软件包。如需查看其他软件包,请使用
<queries>
元素声明您的应用需要提高软件包可见性。如需详细了解如何使用
<queries>
元素,请参阅软件包可见性过滤指南。- 子元素:
- 引入于:
- API 级别 30
- 另请参阅:
- Android 上的软件包可见性过滤
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2022-03-07 UTC.
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"没有我需要的信息"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"太复杂/步骤太多"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"内容需要更新"
},{
"type": "thumb-down",
"id": "translationIssue",
"label":"翻译问题"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"示例/代码问题"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"其他"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"易于理解"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"解决了我的问题"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"其他"
}]