I wrote an Android application. Now, I want to make the device vibrate when a certain action occurs. How can I do this?
You can Vibrate the Device and its work
Vibrator v = (Vibrator) context.getSystemService(Context.VIBRATOR_SERVICE); v.vibrate(100);
Permission is necessary but not on runtime permission required