Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • DownloadDownload
  • PrintPrint
Share this Page URL
Help

Chapter 5: Understanding Intents > Exploring Intent Composition

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 the chapter, you will see that there are subtle differences between these two types of intents.


  

You are currently reading a PREVIEW of this book.

                                                                                        

Get instant access to over
$1 million worth of books and videos.

  

Start a Free Trial


  
  • Safari Books Online
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • DownloadDownload
  • PrintPrint