Just a little problem:
For example I have the activity
TestActivity in my Application
but the activity doesn't have the flag
now my question is how can i check if a given activity
exists in a Package
it would be the same as typing in a console:
adb shell am start -n com.test.somepackage/subpackage.SomeActivity
and if it exists, how can i launch it from another app?
××××× to clarify my question ×××××
i am searching for functions in android like
Intent startthis = new Intent (packagename, activityname);
and if its possible something like
ActivityInfo ai = fetchAllActivitysFromPackage(packagename);
is there any function in android that does likely the same?