The vibration response interface of android touch screen calls the method
- 2020-05-07 20:23:48
- OfStack
Call the native method to turn vibrator on and off:
native static void vibratorOn(long milliseconds);
native static void vibratorOff();
The method is as follows:
VibratorService.vibratorOn()
native static void vibratorOn(long milliseconds);
native static void vibratorOff();
The method is as follows:
VibratorService.vibratorOn()