title: List of all activities in App
body: <p>Is there any way, how to get list of all activities in running app?</p>
  
  <p>I have tried:</p>
  
  <pre><code>ActivityInfo[] list = getPackageManager().getPackageArchiveInfo(
                      "/sd-ext/app/cz.eman.smartstore.android-1.apk",
                      PackageManager.GET_ACTIVITIES).activities;
  </code></pre>
  
  <p>but it doesn´t return a list with all of them.</p>