Mr Groch
10th September 2009, 10:24 PM
Hi!
I want to write script that checks if orientation is switched to landscape and display is switched off - then script should do the same, as clicking the vibrate radio on wm volume control. And if PPC is in portrait or screen id on - it should switch back to normal old volume value (switch off vibration).
How to do this? (detecting if screen is switched off and switching from normal mode to vibrate mode)
Thx
I want to write script that checks if orientation is switched to landscape and display is switched off - then script should do the same, as clicking the vibrate radio on wm volume control. And if PPC is in portrait or screen id on - it should switch back to normal old volume value (switch off vibration).
How to do this? (detecting if screen is switched off and switching from normal mode to vibrate mode)
Thx