1 2 3 4 5 6 | ; // 震動 1 秒 public void { Vibrator myVibrator = (Vibrator) ; myVibrator.; } |
Example:
1 2 3 4 5 6 7 8 9 10 11 12 13 | // 短震動20次 countdowntimer = new CountDownTimer(10500, 500) . ; |
權限
參考網頁:
http://lolikitty.pixnet.net/blog/post/173532249-android-%E5%85%A5%E9%96%80%E6%95%99%E5%AD%B8%EF%BC%9A%E9%9C%87%E5%8B%95
沒有留言:
張貼留言