Here's a class that i use in one of my apps to detect if a package is
installed when my service starts up. You should be able to modify this to
suit your needs.
public class AppDetector {
protected boolean isAppInstalledFromService(Service parent, String uri) {
PackageManager pm = parent.getPac
Use the PackageManager class:
http://developer.android.com/reference/android/content/pm/PackageManager.html
--
There are only 10 types of people in the world...
Those who know binary and those who don't.
--
When my user clicks on my AppWidget, I want to launch either my own
provided activity or an activity from a different app if that app is
installed. My own activity is a stripped down version of the
information that can be displayed by that other application. If that
other application is availabl
3 matches
Mail list logo