스피너 관련 질문입니다 ...

재가 완전 왕초짜 라서 여러가지 소스를 보고  나름 구현 해봤습니다...

 

 
    /** Called when the activity is first created. */
  @Override
  public void onCreate(Bundle savedInstanceState) {
      super.onCreate(savedInstanceState);
      setContentView(R.layout.main);}
 
      private void car_sub_type(int itemNum){

       ArrayAdapter<CharSequence> fAdapter;

       fAdapter = ArrayAdapter.createFromResource(this, itemNum, android.R.layout.simple_spinner_item);

       fAdapter.setDropDownViewResource(android.R.layout.simple_spinner_dropdown_item);

       s.setAdapter(fAdapter);

      }

 


private OnItemSelectedListener choice_type = new OnItemSelectedListener(){
   
 public void onItemSelected(AdapterView<?> parent, View view, int position, long id) {
    switch(position){
       case (0):
         if(D)Log.d((String) TAG,"ListCheck_01");
         Intent intent_01 = new Intent(SpinnerChoice.this,tjdoddmatlr.class);
          startActivity(intent_01);
          break;
       case (1):
           if(D)Log.d((String) TAG,"ListCheck_02");
           Intent intent_02 = new Intent(SpinnerChoice.this,didtlr.class);
        startActivity(intent_02);
        break;
       case (2):
           if(D)Log.d((String) TAG,"ListCheck_03");
           Intent intent_03 = new Intent(SpinnerChoice.this,dlftlr.class);
        startActivity(intent_03);
        break;
       case (3):
           if(D)Log.d((String) TAG,"ListCheck_04");
           Intent intent_04 = new Intent(SpinnerChoice.this,wndtlr.class);
        startActivity(intent_04);
        break;
    }}
    public void onNothingSelected(AdapterView<?> parent) {
    }}}======>여기서 괄로부분에 에러가 생김는 데요!!!

스피너  구현과  저장값 position과 재소스를

보시고 절못 된점 고수님에  조언좀 들고 싶습니다 ....