Lines Matching refs:to
4 <p>Android offers a very powerful and yet easy-to-use message type called
6 You can use intents to turn applications into high-level libraries and
8 applications, for instance, use intents extensively to create shortcuts. </p>
10 <p>While it is nice to be able to make use of a loosely coupled
16 <p>This article describes a technique you can use to find out whether the system
17 contains any application capable of responding to the intent you want to use.
19 to determine whether there's an app that can respond to a specified intent. Your
20 application can pass an intent to the method and then, for example, show or hide
21 user options that the user would normally use to trigger the intent. </p>
26 * respond to an intent with the specified action. If no suitable package is
30 * @param action The Intent action to check for availability.
33 * responded to, false otherwise.
63 <p>Another, simpler, way to do this is to catch the
65 but it only lets you react to the problem, you cannot predict it and update the
66 UI accordingly to prevent the user from doing something that won't work. The
67 technique described here can also be used at startup time to ask the user
68 whether he'd like to install the missing package, you can then simply redirect
69 him to the Android Market by using the appropriate URI.</p>