title: Android Web App - web page run in background
body: <p>I have an android app that displays a web page with a timer event. When the app gets backgrounded, does the javascript also stop. If I have a timer event in the javascript and the app gets backgrounded does the javascript stop running?</p>
  
  <p>Can anyone suggest how to write an app so that if it gets backgrounded, the javascript timer event keeps going? Or do I have to write a service?</p>