onCreate 함수에서 바로 다른 액티비티를 호출할 수는 없나요?

 

 public void onCreate(Bundle savedInstanceState)
{
  super.onCreate(savedInstanceState);
  setContentView(R.layout.main);
Intent starting = new Intent(this, StartingPage.class);
  startActivity(starting);
}

 

이런 식으로 해보려니까 에러가 나더군요

 

어떤 방법이 있는지 알고 싶습니다.