Why isnt my phone vibrating when i press the button?

前端 未结 3 1609
囚心锁ツ
囚心锁ツ 2021-01-21 10:43

Hi im trying to make it that when a user clicks on on a button the phone vibrates. Heres manifest.xml and AndroidVibrator.java so whats wrong? how can i fix it? thanks!

3条回答
  •  说谎
    说谎 (楼主)
    2021-01-21 11:41

    may be 50 ms is too short to feel vibrate try more than 50ms

提交回复
热议问题