title: iPhone OS 4.0.x - transition from background to foreground
body: <p>iPhone programming question:</p>
  
  <p>Is it possible to wakeup/resume iPhone application from background mode to foreground mode programmatically? </p>
  
  <p>I have a long-running background task, which is being launched in applicationDidEnterBackground method of UIApplicationDelegate.</p>
  
  <p>I need to make my application active/visible using some code inside this background task.</p>
  
  <p>Is this possible?</p>
  
  <p>Thanks.</p>