Examples of using Implicit intent in English and their translations into Korean
{-}
-
Colloquial
-
Ecclesiastic
-
Ecclesiastic
-
Programming
-
Computer
An implicit intent specifies an action that can invoke any app on the device able to perform the action.
If you do not declare this category in your intent filter, no implicit intents will resolve to your activity.
Other kinds of implicit intents require"extra" data that provide different data types, such as a string.
However, when you want to have a separate app perform an action, such as"view a map," you must use an implicit intent.
Implicit intents do not declare the class name of the component to start, but instead declare an action to perform.
If you want your activity to receive implicit intents, it must include a category for"android. intent. category.
Beginning with Android 5.0(API level 21), the system throws an exception if you call bindService() with an implicit intent.
Caution: If there are no apps on the device that can receive the implicit intent, your app will crash when it calls startActivity().
The system delivers an implicit intent to your app component only if the intent can pass through one of your intent filters.
These changes can affect your app's access to system resources, along with the way your app interacts with other apps via certain implicit intents.
This lesson shows you how to create an implicit intent for a particular action, and how to use it to start an activity that performs the action in another app.
Although users might enter this activity by navigating to it from MainActivity, they can also enter ShareActivity directly from another app that issues an implicit intent matching one of the two intent filters.
Implicit intents do not name a specific component, but instead declare a general action to perform, which allows a component from another app to handle it.
For example, if you want to show the user a location on a map, you can use an implicit intent to request that another capable app show a specified location on a map.
Using an implicit intent is useful when your app cannot perform the action, but other apps probably can and you'd like the user to pick which app to use.
Forcing an app chooser When there is more than one app that responds to your implicit intent, the user can select which app to use and make that app the default choice for the action.
Making use of an implicit intent is helpful when your app cannot carry out the action, but other apps almost certainly can and you'd like the user to select which app to use.
This page describes several implicit intents that you can use to perform common actions, organized by the type of app that handles the intent. .
Using an implicit intent to start a service is a security hazard because you can't be certain what service will respond to the intent, and the user can't see which service starts.
Using an implicit intent to start a service is a security hazard because you cannot be certain of the service that responds to the intent, and the user cannot see which service starts.
Using an implicit intent to start a service is a security hazard because you can't be certain what service will respond to the intent, and the user can't see which service starts.
To advertise which implicit intents your app can receive, declare one or more intent filters for each of your app components with an element in your manifest file.
How an implicit intent is delivered through the system to start another activity:[1] Activity A creates an Intent with an action description and passes it to startActivity().
Making use of an implicit intent to kick-start a service is a security hazard due to the fact that you cannot be sure what service will respond to the intent, and the user cannot visualize which service begins.
When you use an implicit intent, the Android system finds the appropriate component to start by comparing the contents of the intent to the intent filters declared in the manifest file of other apps on the device.