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.
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 ...
Get Pro Android 4 now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.