how to set activity icon using code
<p>i have a activity but not the main and launcher activty,it is one of activities of my app. the activity have a icon ,i set it in the xml,but i want to using code to find it and replace it :</p>

<pre><code>&lt;activity
        android:name=".wallpaper.CoverFlowExample"
        android:label="@string/pick_wallpaper"
        android:icon="@drawable/ic_launcher_wallpaper"
        android:screenOrientation="nosensor"
        android:finishOnCloseSystemDialogs="true"&gt;
        &lt;intent-filter&gt;
            &lt;action android:name="android.intent.action.SET_WALLPAPER" /&gt;
            &lt;category android:name="android.intent.category.DEFAULT" /&gt;
        &lt;/intent-filter&gt;
    &lt;/activity&gt;
</code></pre>

<p>but i donot find api the finish it,can you tell me how to find the icon and replace it,thanks</p>
