Get instance of running process
<p>I am trying to get the instance of a running process on an android device. I can find the process via</p>

<pre><code> List&lt;RunningAppProcessInfo&gt; procInfos = actvityManager.getRunningAppProcesses();
</code></pre>

<p>and then get the RunningAppProcessInfo. But I am trying to get the instance of this running process via something like</p>

<pre><code> Class instance = Class.forName(runningAppProcessInfo.processName);
</code></pre>

<p>Here I get ClassNotFoundException. So my question is: Is there a way to get the instance in a similar way? Thanks.</p>
