Strange - this hangs the simulator. I've restarted Eclipse. Tried different devices. It enters the conditional and then hangs the simulator. This is part of my ALERT function - that beeps and vibrates for a short time and turns on the backlight to help get the user's attention (backlight turns off automatically after a short time).