The Patterns 471
Use when
The mobile app shows data that is “connectable” in obvious ways, such as phone numbers
and hyperlinks.
More subtly, your app may offer ways to capture images (via the device camera), sound,
or video. It may even be aware of social networking conventions, such as Facebook or
Twitter usernames. In all cases, your app might direct the user to another app to perform
these device-based functions.
Why
A user can only see one mobile app at a time, even when multiple apps are being used at
once, and it’s annoying to switch between them by hand.
Mobile devices often have enough context and available functionality to offer intelligent
paths between apps.
As of this writing, mobile devices have no good way to arbitrarily shuffle small amounts
of information from one application to another. On the desktop, you can type easily, or
use copy and paste, or even use the filesystem. You don’t have those options on a mobile
platform. So, you need to support moving that data automatically.
How
In your app, keep track of data that might be closely associated with other apps or ser-
vices. When the user taps or selects that data, or uses special affordances that you provide,
open another app and handle the data there.
Here are some examples. Consider all the ways that data in your app can connect directly
to other mobile functions.
• Phone numbers connect to the dialer.
• Addresses connect to the map, or to the contacts app.
• Dates connect to the calendar.
• Email addresses connect to the email app.
• Hyperlinks connect to the browser.
• Music and videos connect to media players.
In addition, you might be able to do such things as take a picture, or use a map, entirely
within the context of your application.
You can do some of this on a desktop, but the walled-garden nature of many mobile de-
vices makes it easier to launch the “right” app for certain kinds of data. You don’t have to
decide which email reader to use, or which address or contact management system, and
so on. Plus, many mobile devices supply a phone dialer, a camera, and geographic loca-
tion services.