I think that it should be possible to get all the activities from \'third-party\' application, described in the manifest file. I can\'t figure out how.
for example:<
Thanks for the answer!
I think I found a solution for listing all the activities in an application too, not the most elegant though...
//the method gets all activities for an application
private void getAppActivities() {
PackageManager pManager = getPackageManager();
Intent startIntent = setStartIntent();
List apps = pManager.queryIntentActivities(startIntent, 0);
int count = apps.size();
for (int i = 0; i < count; i++) {
ResolveInfo info = apps.get(i);
String packageName = info.activityInfo.packageName;
Intent intent = new Intent();
intent.setPackage(packageName);
//activities holds the activities defined in the package
List activities = pManager.queryIntentActivities(intent, 0);
}
}