title: Can I run Javascript without a WebView, or can a WebView run without an Activity context, such as in a Service?
body: <p>I have a HTML5 (JavaScript) backed app that I would like to port to Android.</p>
  
  <p>In some cases, the JavaScript code needs to run in a background Service (no UI, so no WebView). For example, in order to sync.</p>
  
  <p>From researching this, it doesn't appear that WebViews run without an Activity Context. Beyond that, it seems silly to use a UI View only to run code in the first place, but I'm not sure of the alternatives. </p>
  
  <p>What is the best approach for accomplishing this?</p>
  
  <p>Thanks for your insights!</p>