public class CurrentActivity extends AppCompatActivity {
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.current_activity);
Intent intent = new Intent(this, DestinationActivity.class);
startActivity(intent);
}
}