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

For the More Curious: Concurrent Documents

If you are running your apps on a Lollipop or later device, you may have noticed some interesting behavior with respect to CriminalIntent and the overview screen. When you opt to send a crime report from CriminalIntent, the activity for the app you select from the chooser is added to its own task rather than to CriminalIntent’s task (Figure 24.15).

Figure 24.15  Gmail launched into separate task

Screenshot shows Gmail launched into the separate task. The Google search bar is shown at the top of the screen. CriminalIntent app screen is overlapped by Gmail app which sends an email with the subject, CriminalIntent Crime Report.

On Lollipop forward, the implicit intent chooser creates a new, separate task for activities launched with the android.intent.action.SEND or action.intent.action.SEND_MULTIPLE actions. (On ...

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