title: using the LOCATION_SERVICE from a Thread
body: <p>How can I use the LOCATION_SERVICE from the run() method of a class that extends Thread?
  Both of these are giving me errors:</p>
  
  <pre><code>lm = (LocationManager) getSystemService(Context.LOCATION_SERVICE);
  </code></pre>
  
  <p>The method getSystemService(String) is undefined for the type Thread_ReadGps and</p>
  
  <pre><code>lm = (LocationManager) context.getSystemService(LOCATION_SERVICE);
  </code></pre>
  
  <p>LOCATION_SERVICE cannot be resolved to a variable</p>
  
  <p>Thanks!</p>