title: Get tilt angle from the android accelerometer
body: <p>I have a class that implements <code>SensorEventListener</code> and I would like to get
  the <code>tilt Angle</code> of my device using the <code>Accelerometer</code>.  </p>
  
  <p>I looked for examples on the internet but they use
  <code>Sensor.TYPE_MAGNETIC_FIELD</code>.  </p>
  
  <p>I believe my device doesn't have this sensor because when I do the
  following check<br>
  <code>manager.getSensorList(Sensor.TYPE_ACCELEROMETER).size()</code>, I get <strong>zero</strong>.</p>
  
  <p>Is there a way to get the <code>tilt Angle</code> by just using
  <code>Sensor.TYPE_ACCELEROMETER</code> values? </p>