Is there any way, how to get list of all activities in running app?
I have tried:
ActivityInfo[] list = getPackageManager().getPackageArchiveInfo(
"/sd-ext/app/cz.eman.smartstore.android-1.apk",
PackageManager.GET_ACTIVITIES).activities;
but it doesn´t return a list with all of them.
If the app is running, then use getPackageInfo()
, instead of getPackageArchiveInfo()
.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With