Vibration Touch Screen

2019328vibration after touch the screensk question 0 am working on an app which starts to vibrate after the application is opened for 3000 ms have these two lines of code vibrator v vibrator getsystemservicecontextbratorservice vbrate3000 i want to write an android code which starts vibrating after a user touch a screen.