Wednesday, December 15, 2010

Android

Activating Components
Components like Activities, Services and Broadcast Receivers are activated by objects called Intents. These are asynchronous messages.
Content Providers are activated when they are targeted by a request from ContentResolver.

  • Activity is started by passing Intent object through Context.startActivity() or Activity.startActivityForResult().
  • Services are Started by passing Intent object to Context.starService().