O'Reilly logo

Android Programming: The Big Nerd Ranch Guide, Third Edition by Kristin Marsicano, Chris Stewart, Bill Phillips

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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

Set of two screenshots. Screenshots show two different approaches to web content.

One Last Bit of Flickr Data

For both ways, you need to get the URL for a photo’s Flickr page. If you look at the JSON you are currently ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required