- بناء الجملة:
-
<queries> <package android:name="string" /> <intent> ... </intent> <provider android:authorities="list" /> ... </queries>
- الواردة في:
<manifest>
- description:
تحدِّد هذه السياسة مجموعة التطبيقات الأخرى التي يوفّرها التطبيق. التفاعل معه. تم تحديد هذه التطبيقات الأخرى حسب اسم الحزمة، حسب النية التوقيع أو من قِبل جهة موفّر الخدمة، كما هو موضّح في الأقسام التالية في هذه الصفحة.
ملاحظة: بعض الحزم مرئية تلقائيًا. يعرض التطبيق دائمًا هذه الحِزم في طلبات البحث عن التطبيقات الأخرى المثبَّتة. إلى عرض الحِزم الأخرى، والتوضيح بأنّ تطبيقك يحتاج إلى زيادة إذن الوصول إلى الحِزم باستخدام العنصر
<queries>
.مزيد من المعلومات حول كيفية استخدام عنصر
<queries>
في فلترة مستوى ظهور حِزم التطبيقات على Android- العناصر الفرعية:
- تم تقديمها في:
- المستوى 30 من واجهة برمجة التطبيقات
- راجِع أيضًا:
- فلترة مستوى ظهور حِزم التطبيقات على Android
<الاستعلامات>
يخضع كل من المحتوى وعيّنات التعليمات البرمجية في هذه الصفحة للتراخيص الموضحّة في ترخيص استخدام المحتوى. إنّ Java وOpenJDK هما علامتان تجاريتان مسجَّلتان لشركة Oracle و/أو الشركات التابعة لها.
تاريخ التعديل الأخير: 2025-07-27 (حسب التوقيت العالمي المتفَّق عليه)
[[["يسهُل فهم المحتوى.","easyToUnderstand","thumb-up"],["ساعَدني المحتوى في حلّ مشكلتي.","solvedMyProblem","thumb-up"],["غير ذلك","otherUp","thumb-up"]],[["لا يحتوي على المعلومات التي أحتاج إليها.","missingTheInformationINeed","thumb-down"],["الخطوات معقدة للغاية / كثيرة جدًا.","tooComplicatedTooManySteps","thumb-down"],["المحتوى قديم.","outOfDate","thumb-down"],["ثمة مشكلة في الترجمة.","translationIssue","thumb-down"],["مشكلة في العيّنات / التعليمات البرمجية","samplesCodeIssue","thumb-down"],["غير ذلك","otherDown","thumb-down"]],["تاريخ التعديل الأخير: 2025-07-27 (حسب التوقيت العالمي المتفَّق عليه)"],[],[],null,["# <queries\u003e\n\nsyntax:\n:\n\n ```xml\n \u003cqueries\u003e\n \u003cpackage android:name=\"string\" /\u003e\n \u003cintent\u003e\n ...\n \u003c/intent\u003e\n \u003cprovider android:authorities=\"list\" /\u003e\n ...\n \u003c/queries\u003e\n ```\n\ncontained in:\n: [\u003cmanifest\u003e](/guide/topics/manifest/manifest-element)\n\ndescription:\n\n: Specifies the set of other apps that an app\n intends to interact with. These other apps are specified\n [by package name](#package), [by intent\n signature](#intent), or [by provider authority](#provider), as described in\n the following sections on this page.\n\n **Note:** Some packages are\n [visible automatically](/training/package-visibility/automatic). Your\n app always sees these packages in its queries for other installed apps. To\n view other packages, declare your app's need for increased package visibility\n using the `\u003cqueries\u003e` element.\n\n Learn more about how to use the `\u003cqueries\u003e` element in\n [Package visibility filtering on Android](/training/package-visibility).\n\nchild elements:\n:\n\n `\u003cpackage\u003e`\n\n : Specifies a single app that your app intends to access. This other\n app might integrate with your app, or your app might use services that the\n other app provides.\n\n attributes:\n\n `android:name`\n : **Required.** Specifies the package name of the other app.\n\n `\u003cintent\u003e`\n\n : Specifies an [intent filter\n signature](/training/basics/intents/filters). Your app can discover other apps that have matching\n [`\u003cintent-filter\u003e`](/guide/topics/manifest/intent-filter-element)\n elements.\n\n **Note:** There are some restrictions on the\n options that you can include in this `\u003cintent\u003e` element,\n compared to a typical intent filter signature. Learn more about these\n restrictions in [Packages\n that match an intent filter signature](/training/package-visibility/declaring#intent-filter-signature).\n\n `\u003cprovider\u003e`\n\n : Specifies one or more\n [content\n provider authorities](/guide/topics/providers/content-provider-basics#ContentURIs). Your app can discover other apps whose content\n providers use the specified authorities.\n\n **Note:** There are some restrictions on the\n options that you can include in this `\u003cprovider\u003e` element,\n compared to a typical\n [`\u003cprovider\u003e`](/guide/topics/manifest/provider-element)\n manifest element. Usually, you only specify the\n `android:authorities` attribute.\n\nintroduced in:\n: API level 30\n\nsee also:\n: [Package visibility filtering on Android](/training/package-visibility)"]]