title: How to clear history of an activity when i use onActivityResult
body: <p>I am capturing multiple pictures using camera intent in activity (say Activity B). So <code>onactivityresult</code> is not called if I add <code>android:nohistory="true"</code> or <code>android:launchmode="singleInstance"</code>. Then, may I know do I clear this activity history in my application. Because whenever I hit the back button from previously opened activity (say Activity A) this same activity keep calling.. I know that I can able call this activity with in Activity A but I am calling this Activity B by non-activity which extends <code>PagerAdapter</code> for fullscreenimagedisplay.</p>