title: Preventing application/screen timeout Android
body: <p>I have an Android (version 1.5) application which needs to be constantly running when a button is pressed. So, when a <code>Button</code> is pressed I would like the phone to remain on and not want the screen or CPU to time-out.</p>
  
  <p>When another <code>Button</code> is pressed I would like the phone to be back to normal and time-out as per user settings.</p>