Skip to content

Instantly share code, notes, and snippets.

@fdomig fdomig/gist:5531562
Created May 7, 2013

Embed
What would you like to do?
Start Android Intent without pushing on the history stack
public void doSomething()
{
Intent intent = new Intent(this, SomeOtherClass.class);
// do not keep this intent in history
intent.setFlags(Intent.FLAG_ACTIVITY_NO_HISTORY);
startActivity(intent);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.