Just a little problem:
For example I have the activity TestActivity
in my Application com.example.testapp
but the activity doesn't have the flag android.intent.category.LAUNCHER
now my question is how can i check if a given activity subpackage.SomeActivity
exists in a Package com.test.somepackage
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?