手机振动控制

来源:互联网 发布:软件开发工作建议 编辑:程序博客网 时间:2024/06/10 07:13

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

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

vibrator.vibrate(long milliseconds);

vibrator.cancel();

原创粉丝点击