Is there any way, how to get list of all activities in running app?
I have tried:
ActivityInfo[] list = getPackageManager().getPackageArchiveInfo(
If the app is running, then use getPackageInfo(), instead of getPackageArchiveInfo().
getPackageInfo()
getPackageArchiveInfo()