Continue vibration even after the screen goes to sleep mode in Android
问题 In my application, I am starting the VIBRATOR_SERVICE through the following code long[] pattern = {50,100,1000} Vibrator vibe=(Vibrator) context.getSystemService(Context.VIBRATOR_SERVICE); vibe.vibrate(pattern, 0); I want the vibration continue till I call vibe.cancel(); The Code is working fine, but the vibration getting off when the screen goes to sleep mode. I want the vibration continue even after the screen goes to sleep mode. Is there any ways to do this? Please help me. Thanks in