android java refresh intent with flag code example Example: refresh activity android Activity.recreate(); //Trigger the onCreate method in the activity