Android Programming The Big Nerd Ranch Guide by Bill Phillips, Chris Stewart, Kristin Marsicano (z-lib.org)

(gtxtreme123) #1

30. Browsing the Web and WebView


Each photo you get from Flickr has a page associated with it. In this chapter, you are going to update
PhotoGallery so that users can press a photo to see its Flickr page. You will learn two different ways to
integrate web content into your apps, shown in Figure 30.1. The first works with the device’s browser
app (left), and the second uses a WebView to display web content within PhotoGallery (right).


Figure 30.1  Web content: two different approaches

Free download pdf