title: Keeping Listener.htm Running
body: <pre><code>&lt;content src="index.htm" &gt;
      &lt;rim:background src="listener.htm" runOnStartup="true" /&gt;
  &lt;/content&gt;
  </code></pre>
  
  <p>I have a background listener and a foreground process called index.htm. When I install the app and load up the phone, I can see that my listener is in the background by holding down the menu button. However as soon as I load up the app itself and close it the listener is no longer in the background. What is the appropriate way to keep the listener ALWAYS running?</p>
  
  <p>Do I have to use static void requestBackground() in the index.htm file somehow - Is that how the listener is activated? Also I require that the listener runs even when index.htm is in the foreground, is this possible?</p>