1

So I have a seekbar in my android app. I want the device to vibrate for (say) 50 milliseconds on each update of the progress value. How do I do that ? Thanks in advance.

Jitin
  • 346
  • 3
  • 13

1 Answers1

4

Use the SeekBar.OnSeekBarChangeListener to know when the value changes. And check this answer to do the vibration.