title: BlackBerry - Detecting when my application is sent to the Background because of a Call
body: <p>I need to detect when my BlackBerry application is sent to the background and also when it's brought to the foreground again. I need to pause the application when a phone call comes in and resume appropriately.</p>
  
  <p>I assume this must be trivial to achieve but I can't find any reference to how this is done. Please put me out of my misery!</p>
  
  <p>Gav</p>