Dowiedz się, które pakiety są widoczne automatycznie
Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
System automatycznie udostępnia niektóre aplikacje, aby Twoja aplikacja mogła z nimi wchodzić w interakcje bez konieczności deklarowania elementu <queries>. Takie działanie
pomaga w obsłudze podstawowych funkcji i typowych przypadków użycia.
Rodzaje aplikacji, które są widoczne automatycznie
Te typy aplikacji są zawsze widoczne dla Twojej aplikacji, nawet jeśli jest ona kierowana na Androida 11 (API na poziomie 30) lub nowszego:
własną aplikację,
Niektóre pakiety systemowe, takie jak dostawca multimediów, które implementują podstawowe funkcje Androida.
Każda aplikacja, która otrzymuje dane wejściowe z Twojej aplikacji. Ten przypadek dotyczy tylko sytuacji, gdy Twoja aplikacja udostępnia dane wejściowe jako edytor metody wprowadzania.
Pakiety systemowe, które są automatycznie widoczne
Niektóre pakiety systemowe, które implementują podstawowe funkcje Androida, są automatycznie widoczne dla aplikacji, nawet jeśli jest ona przeznaczona na Androida 11 lub nowszego. Konkretny zestaw pakietów zależy od urządzenia, na którym działa Twoja aplikacja.
Aby wyświetlić pełną listę pakietów na konkretnym urządzeniu, uruchom to polecenie w terminalu na komputerze deweloperskim:
adb shell dumpsys package queries
W wyniku polecenia znajdź sekcję forceQueryable. Ta sekcja zawiera listę pakietów, które urządzenie automatycznie udostępniło Twojej aplikacji.
Treść strony i umieszczone na niej fragmenty kodu podlegają licencjom opisanym w Licencji na treści. Java i OpenJDK są znakami towarowymi lub zastrzeżonymi znakami towarowymi należącymi do firmy Oracle lub jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2025-08-27 UTC.
[null,null,["Ostatnia aktualizacja: 2025-08-27 UTC."],[],[],null,["The system automatically makes some apps visible so that your app\ncan interact with them without needing to declare the\n[`\u003cqueries\u003e`](/guide/topics/manifest/queries-element) element. This behavior\nhelps support basic functionality and common use cases.\n| **Note:** You can start another app's activity using either an [implicit](/guide/components/intents-filters#ExampleSend) or [explicit](/guide/components/intents-filters#ExampleExplicit) intent regardless of whether that app is visible to your app. Also, if your app targets Android 10 (API level 29) or lower, **all** apps are visible to your app automatically.\n\nTypes of apps that are visible automatically\n\nThe following types of apps are always visible to your app, even when your app\ntargets Android 11 (API level 30) or higher:\n\n- Your own app.\n- [Certain system packages](#system-packages-visible-automatically), such as the media provider, that implement core Android functionality.\n- The app that installed your app.\n- Any app that launches an activity in your app using the [`startActivityForResult()`](/reference/kotlin/android/app/Activity#startactivityforresult) method, as described in the guide about [getting a result from an\n activity](/training/basics/intents/result).\n- Any app that starts or binds to a [service](/guide/components/services) in your app.\n- Any app that accesses a [content\n provider](/guide/topics/providers/content-providers) in your app.\n- Any app that has a content provider that your app has been [granted URI\n permissions](/guide/topics/providers/content-provider-basics#getting-access-with-temporary-permissions) to access.\n- Any app that receives input from your app. This case applies only when your app provides input as an [input method\n editor](/guide/topics/text/creating-input-method).\n\nSystem packages that are visible automatically\n\nSome system packages that implement core Android functionality are automatically\nvisible to your app, even when your app targets Android 11 or\nhigher. The specific set of packages depends on the device that runs your app.\n\nTo view the full list of packages for a specific device, run the following\ncommand in a terminal on your development machine: \n\n```\nadb shell dumpsys package queries\n```\n\nIn the command output, find the `forceQueryable` section. This section includes\nthe list of packages that the device has made visible to your app automatically."]]