How to get the icon of other applications (Android)
<p>What I'm doing is getting a list of all the current running processes on the phone. Which I have done by, </p>

<pre><code>private List&lt;RunningAppProcessInfo&gt; process;
private ActivityManager activityMan;
...
activityMan = (ActivityManager)getSystemService(Context.ACTIVITY_SERVICE);
process = activityMan.getRunningAppProcesses();
</code></pre>

<p>this works fine. When I call the processName field like</p>

<pre><code>process.get(i).processName;
</code></pre>

<p>I get a name like com.android.mail for example.</p>

<p>what I'm trying to do is use this to get access to that application so I can display its icon to the user, but I cant find anything that lets me do this. Is there something that can help me? </p>

<p>I'm testing this app on my hero so the api level is 3 (android 1.5). </p>

<p>Thanks.</p>
