Google latitude background updating battery
Here are some more intents that add extra data to specify the desired action: .This prevents apps that can "view" other types of data (like a map app) from being triggered by the intent.If you know of a specific app that can handle the intent, you can also provide a link for the user to download the app (see how to link to your product on Google Play). If the system identifies more than one activity that can handle the intent, it displays a dialog (sometimes referred to as the "disambiguation dialog") for the user to select which app to use, as shown in figure 1.
I have created a custom icon with the mdpi, hdpi, xhdpi and xxhdpi dimensions but I still see them small....However, if the action to be performed could be handled by multiple apps and the user might prefer a different app each time—such as a "share" action, for which users might have several apps through which they might share an item—you should explicitly show a chooser dialog as shown in figure 2.The chooser dialog forces the user to select which app to use for the action every time (the user cannot select a default app for the action). // This says something like "Share this photo with" String title = get Resources()String(R.string.chooser_title); // Create intent to show chooser Intent chooser = Intent.create Chooser(intent, title); // Verify the intent will resolve to at least one activity if (intent.resolve Activity(get Package Manager()) !Although the Android platform guarantees that certain intents will resolve to one of the built-in apps (such as the Phone, Email, or Calendar app), you should always include a verification step before invoking an intent.Caution: If you invoke an intent and there is no app available on the device that can handle the intent, your app will crash.
ACTION_VIEW, location); // Verify it resolves Package Manager package Manager = and there is more than one app that responds to the intent, the user can select which app to use by default (by selecting a checkbox at the bottom of the dialog; see figure 1).