Android Programming The Big Nerd Ranch Guide by Bill Phillips, Chris Stewart, Kristin Marsicano (z-lib.org)
Resolving an Implicit Intent In CriminalIntent, you used an implicit intent to send a crime report. You presented an activity ch ...
Chapter 24 More About Intents and Tasks Now define a ViewHolder that displays an activity’s label. Store the activity’s Resolve ...
Resolving an Implicit Intent Next add a RecyclerView.Adapter implementation. Listing 24.6 RecyclerView.Adapter implementation ( ...
Chapter 24 More About Intents and Tasks Run NerdLauncher, and you will see a RecyclerView populated with activity labels (Figur ...
Creating Explicit Intents at Runtime Listing 24.8 Launching pressed activity (NerdLauncherFragment.java) private class Activity ...
Chapter 24 More About Intents and Tasks Run NerdLauncher and launch some apps. Tasks and the Back Stack Android uses tasks to k ...
Switching between tasks Try out the overview screen on your device or emulator. First, launch CriminalIntent from the Home scree ...
Chapter 24 More About Intents and Tasks Starting a new task Sometimes, when you start an activity, you want the activity added ...
Starting a new task This will not do. Instead, you want NerdLauncher to start activities in new tasks (Figure 24.10). That way e ...
Chapter 24 More About Intents and Tasks Clear the tasks listed in your overview screen. Run NerdLauncher and start CriminalInte ...
Using NerdLauncher as a Home Screen Listing 24.10 Changing NerdLauncherActivity’s categories (AndroidManifest.xml) By add ...
Chapter 24 More About Intents and Tasks Challenge: Icons You used ResolveInfo.loadLabel(PackageManager) in this chapter to pres ...
For the More Curious: Processes vs Tasks However, the contact list activity instance is actually created in the memory space of ...
Chapter 24 More About Intents and Tasks When you do this, new contact list activity and contact details instances will be creat ...
For the More Curious: Concurrent Documents For the More Curious: Concurrent Documents If you are running your apps on a Lollipop ...
Chapter 24 More About Intents and Tasks A prime example of concurrent documents in practice is the Google Drive app. You can op ...
25. HTTP and Background Tasks The apps that dominate the brains of users are networked apps. Those people fiddling with their ph ...
Chapter 25 HTTP and Background Tasks (We have added a filter to our PhotoGallery implementation to show only photos listed on F ...
Creating PhotoGallery Creating PhotoGallery Create a new Android application project. Configure the app as shown in Figure 25.3. ...
Chapter 25 HTTP and Background Tasks In PhotoGalleryActivity.java, set up PhotoGalleryActivity as a SingleFragmentActivity by d ...
«
20
21
22
23
24
25
26
27
28
29
»
Free download pdf