On Android, how do you switch activities programmatically?

This should do it for you:

Intent myIntent = new Intent(this, MyActivityName.class);
startActivity(myIntent);

You can call that from anywhere in your current activity.

Leave a Comment