'old/definition'에 해당되는 글 2건

  1. 2010.02.25 Intent
  2. 2010.02.25 Context

Intent

old/definition 2010. 2. 25. 14:55

An intent is an abstract description of an operation to be performed. 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.

An Intent provides a facility for performing late runtime binding between the code in different applications. Its most significant use is in the launching of activities, where it can be thought of as the glue between activities. It is basically a passive data structure holding an abstract description of an action to be performed. The primary pieces of information in an intent are:

  • action -- The general action to be performed, such as ACTION_VIEW, ACTION_EDIT, ACTION_MAIN, etc.

  • data -- The data to operate on, such as a person record in the contacts database, expressed as a Uri.

'old > definition' 카테고리의 다른 글

Context  (0) 2010.02.25
Posted by jazzlife
,

Context

old/definition 2010. 2. 25. 14:54
Interface to global information about an application environment. This is an abstract class whose implementation is provided by the Android system. It allows access to application-specific resources and classes, as well as up-calls for application-level operations such as launching activities, broadcasting and receiving intents, etc.

'old > definition' 카테고리의 다른 글

Intent  (0) 2010.02.25
Posted by jazzlife
,