Start Activity clearing top in Android -
i have following activities in stack:
a , b , c, d
i want relaunch b in order stack:
a , b'
where b' new b instance (not old receiving onnewintent callback, how can it?
by way i'm using
intent.setflags(intent.flag_activity_clear_top);
when launching b activity way onnewintent called instead of start new instance
use android:nohistory=true in manifest file particular activity clear.hope might solve issue.