开始另一项活动 - 意图的 Hello World

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);
    }
}