手机振动控制

 private Vibrator vibrator = (Vibrator) this.getSystemService(Context.VIBRATOR_SERVICE);

vibrator.vibrate(long[] pattern, int repeat);

vibrator.vibrate(long milliseconds);

vibrator.cancel();

你可能感兴趣的:(service,手机)