[android-developers] Re: how to test the existence of a specific activity ?

2009-02-04 Thread Al Sutton
getPackageManager() in a Context gives you one of these; http://code.google.com/android/reference/android/content/pm/PackageManager.html You can then use http://code.google.com/android/reference/android/content/pm/PackageManager.html#getActivityInfo(android.content.ComponentName,%20int) If yo

[android-developers] Re: how to test the existence of a specific activity ?

2009-02-03 Thread Dan Raaka
This should help http://www.curious-creature.org/2008/12/15/android-can-i-use-this-intent/ -Dan On Feb 3, 1:18 pm, hapciu wrote: > Is there a way to find out whether a specific activity is present on > the phone ? I mean without firing an intent to start it and then catch > the exception. > > t