For the More Curious: Concurrent Documents
If you tried testing the overview screen with CriminalIntent and sharing crime data with other apps, you may have noticed some interesting behavior. 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 23.14).
Figure 23.14 Gmail launched into a separate task
The implicit intent chooser creates a new, separate task for activities launched with the android.intent.action.SEND
or android.intent.action.SEND_MULTIPLE
actions.
This behavior uses a notion called ...
Get Android Programming: The Big Nerd Ranch Guide, 4th Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.