Intent intent = new Intent(MainActivity.this, list.class); // 두번째 액티비티를 실행하기 위한 인텐트

startActivity(intent);