I am trying to make my device vibrate when I touch an object on Screen. I am using this code:
Vibrator v = (Vibrator) getSystemService(getApplicationContext().VIBRATOR_SERVICE);
v.vibrate(300);
with the permission in the manifest file but I don't seem to get any results. Any suggestions? Also, my hardware supports vibrate.