August 2015
Intermediate to advanced
296 pages
6h 40m
English
When we get to the OnCreate() method of the POIDetailActivity, we need to access the PointOfInterest object sent from POIListActivity. This object will be used to display the details of the selected POI. The following section will walk you through the process of retrieving the extra bundle metadata from Intent.
Each activity has an Intent property that contains the intent and the corresponding information that was passed while starting the activity. The Intent class provides a number of methods to access any of the Extras bundle data by providing the corresponding keys. Before we retrieve the data, we can confirm whether the value for the specified key is available by calling the HasExtra ("poi") method. ...
Read now
Unlock full access