Android Programming The Big Nerd Ranch Guide by Bill Phillips, Chris Stewart, Kristin Marsicano (z-lib.org)
Receivers and Long-Running Tasks Receivers and Long-Running Tasks So what do you do if you want a broadcast intent to kick off a ...
Chapter 29 Broadcast Intents For the More Curious: Local Events Broadcast intents allow you to propagate information across the ...
Using RxJava You specify how a subscriber should handle an event by implementing a method with the appropriate event type as inp ...
Chapter 29 Broadcast Intents For the More Curious: Detecting the Visibility of Your Fragment When you reflect on your PhotoGall ...
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 ...
Chapter 30 Browsing the Web and WebView One Last Bit of Flickr Data For both ways, you need to get the URL for a photo’s Flickr ...
One Last Bit of Flickr Data Update GalleryItem to put this plan into action. Listing 30.1 Adding code for photo page (GalleryIt ...
Chapter 30 Browsing the Web and WebView Now change parseItems(...) to read in the owner attribute. Listing 30.2 Reading in own ...
The Easy Way: Implicit Intents The Easy Way: Implicit Intents You will browse to this URL first by using your old friend the imp ...
Chapter 30 Browsing the Web and WebView That is it. Start up PhotoGallery and press on a photo. Your browser app should pop up ...
The Harder Way: WebView Listing 30.5 Setting up your web browser fragment (PhotoPageFragment.java) public class PhotoPageFragme ...
Chapter 30 Browsing the Web and WebView Switch up your code in PhotoGalleryFragment to launch your new activity instead of the ...
The Harder Way: WebView Finally, you need to provide a default implementation of a class called WebViewClient. WebViewClient is ...
Chapter 30 Browsing the Web and WebView Using WebChromeClient to spruce things up Since you are taking the time to create your ...
Using WebChromeClient to spruce things up To hook up the ProgressBar, you will use the second callback on WebView: WebChromeClie ...
Chapter 30 Browsing the Web and WebView Run PhotoGallery to test your changes. It should look like Figure 30.3. Figure 30.3 Fa ...
Proper Rotation with WebView Proper Rotation with WebView Try rotating your screen. While it does work correctly, you will notic ...
Chapter 30 Browsing the Web and WebView For the More Curious: Injecting JavaScript Objects In this chapter, you have seen how t ...
For the More Curious: WebView Updates For the More Curious: WebView Updates WebView underwent a serious overhaul with the releas ...
Chapter 30 Browsing the Web and WebView Challenge: Supporting Non-HTTP Links If you poke around within PhotoPageFragment’s WebV ...
«
26
27
28
29
30
31
32
33
34
35
»
Free download pdf