title: Android OpenGL compass
body: <p>Can anyone help me with sample code for a compass needle that points in the direction where the phone is tilted?
  I am trying to develop an application to rotate a bitmap in OpenGL from accelerometer values.</p>