package com.Tutorial;

import android.app.Activity;
import android.os.Bundle;
import android.view.MotionEvent;
import android.view.View;
import android.widget.Button;

public class Tutorial extends Activity {
  
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.main);
    
 
        Button SoundButton = (Button)findViewById(R.id.Button);
        
        SoundButton.setOnTouchListener(new View.OnTouchListener() {
        
        
         public boolean onTouch(View v, MotionEvent event) {
// TODO Auto-generated method stub
int action = event.getAction();
         if (action == MotionEvent.ACTION_DOWN) {
} else if(action == MotionEvent.ACTION_POINTER_DOWN) {
} else if(action == MotionEvent.ACTION_POINTER_1_DOWN) {
} else if(action == MotionEvent.ACTION_POINTER_2_DOWN) {
} else if(action == MotionEvent.ACTION_POINTER_3_DOWN) {
} else if(action == MotionEvent.ACTION_UP) {
} else if(action == MotionEvent.ACTION_POINTER_UP) {
} else if(action == MotionEvent.ACTION_POINTER_1_UP) {
} else if(action == MotionEvent.ACTION_POINTER_2_UP) {
} else if(action == MotionEvent.ACTION_POINTER_3_UP) {
}
        
return false;
}
      });  
            
      
        Button SoundButton2 = (Button)findViewById(R.id.Button2);
     
        SoundButton2.setOnTouchListener(new View.OnTouchListener() {

@Override
public boolean onTouch(View v, MotionEvent event) {
// TODO Auto-generated method stub
int action2 = event.getAction();
         if (action2 == MotionEvent.ACTION_DOWN) {
} else if(action2 == MotionEvent.ACTION_POINTER_DOWN) {
} else if(action2 == MotionEvent.ACTION_POINTER_1_DOWN) {
} else if(action2 == MotionEvent.ACTION_POINTER_2_DOWN) {
} else if(action2 == MotionEvent.ACTION_POINTER_3_DOWN) {
} else if(action2 == MotionEvent.ACTION_UP) {
} else if(action2 == MotionEvent.ACTION_POINTER_UP) {
} else if(action2 == MotionEvent.ACTION_POINTER_1_UP) {
} else if(action2 == MotionEvent.ACTION_POINTER_2_UP) {
} else if(action2 == MotionEvent.ACTION_POINTER_3_UP) {
}
        
return false;
}
        });
    }
}



---------------------------------
도저희 모르겟어요 ㅜㅜ 어떻게해야하는지점 알려주세요 ㅜ