Cleaning up activities in android
<p>I have four activities a,b,c,d. Activity a is the main activity which then calls b,c and d which then does some computation. I know I can prevent the activity from building up in my application by <code>android:noHistory="true"</code> attribute in those activites . But the issue is if I am in activity c,when I press the back button I want to go to b, but if d finishes I want b and c to be removed and only a to displayed. Is there any way to achieve this? </p>
