• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Apps Vibration when screen is timeout

iudex

Newbie
I'm using the examples from this site: Vibration Examples | Developer How-To | Android | Konreu

So, as you see, I'm using the Vibrator Service. The problem, which also is written on the site, is that the vibration don't work if the screen has timed out.

Anyone has any ideas to fix this? It surely should work as the vibration works on phone calls, alarm etc. even though the screen is black. But maybe I have to wake up the phone before the vibration is called?
 
phone calls and alarms both wake the screen and vibrate , maybe the phone takes a while to wake the screen , but the call for screen waking is probably made before vibration call is
 
Back
Top Bottom