O'Reilly logo

Pro Android 4 by Satya Komatineni, Dave MacLean

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Exploring Intent Composition

Another sure way to further understand an intent is to see what an intent object contains. An intent has an action, data (represented by a data URI), a key/value map of extra data elements, and an explicit class name (called a component name). Almost all of these are optional as long as the intent carries at least one of these. We will explore each of these parts in turn.

Image NOTE: When an intent carries a component name with it, it is called an explicit intent. When an intent doesn't carry a component name but relies on other parts such as action and data, it is called an implicit intent. As we go through the rest of ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required