![]() In other words, you describe your intention. Intents are a way of telling Android what you want to do. The data to operate on, such as a person record in the contacts The general action to be performed, such as ACTION_VIEW, The primary pieces of information in an intent are: It is basically a passive data structure holding an abstract description of an action to be performed. Its most significant use is in the launching of activities, where it can be thought of as the glue between activities. It can be used with startActivity to launch an Activity, broadcastIntent to send it to any interested BroadcastReceiver components, and startService(Intent) or bindService(Intent, ServiceConnection, int) to communicate with a Background Service.Īn Intent provides a facility for performing late runtime binding between the code in different applications. Here are additional technical details about Intents from the Android documentation.Īn intent is an abstract description of an operation to be performed. Service orientation to the most granular level, if I may say. ![]()
0 Comments
Leave a Reply. |