android tutorial - Start another activity in Android Intent | Developer android - android app development - android studio - android app developement
Start another activity - Hello World of intents
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);
}
}