다른 클래스에서 밑의 문장에 오류가 납니다 뭘 잘못 한것일까요 ㅠㅜ?
VibratorExample m_vibrator = new VibratorExample(); 오류가 나서 못 받아옵니다 ㅠㅜ
 
 
 
VibratorExample 클래스 입니다 밑에는
public class VibratorExample extends View {
 Vibrator m_vibrator = null;
 public VibratorExample(Context context) {
  super(context);
  m_vibrator = (Vibrator) context.getSystemService(Context.VIBRATOR_SERVICE);
  
 }
 
 public void toctoc(int ms){
  m_vibrator.vibrate(ms); // 0.1초 진동한다.
  
 }
  
}