Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
No one would be content with her Android programming knowledge unless she were able to put a map on the screen. There are a couple of ways to do this. The first is by invoking a build-in Intent on the Android device, similar to switching to the browser or using the phone dialer. In the next chapter we will present at length some of the built-in actions that are represented by symbolic constants that are part of the Intent class. Some of the built-in actions that use the same name, such as ACTION_VIEW, respond with different services depending on the uniform resource identifier (URI) that is submitted to it. For example, ACTION_VIEW, when supplied with http://and a web address, returns a web page. When supplied with the prefix geo: and geocodes, it returns a Google Map for the location. For now, let us look at a Google Map example.