title: Getting the initial temperature
body: <p>I am writing my first Android app and I am running into what I thought would be a simple issue.  I am trying to get the temperature of the device (using the 2.1 APIs).  I have followed <a href="http://developer.android.com/reference/android/hardware/SensorManager.html" rel="nofollow">this example</a>. </p>
  
  <p>If the temperature changes, the app updates as expected. If the device is sitting on my desk, the temperature does not change and I never get an <code>onSensorChanged()</code> callback.</p>
  
  <p>Although this sounds right (i.e. the sensor didn't change, so no update), I can't figure out how to get the current temperature when the app starts out.  I was hoping that <code>onSensorChanged()</code> would be called when the app starts, but that is not the case.</p>
  
  <p>Is there some API I have missed?  I can't believe that there is no way to display the temperature until it changes.</p>
  
  <p>Thank you.</p>