Passing data to another activity
The intent object is defied as a messaging object. As a message object, its purpose is to
communicate with other components of the application. In this recipe, we'll show you how
to pass information with the intent and how to get it out again