move camera according to the sensor rotation matrix in OpenGL ES 2.0 https://github.com/LiamAttClarke/android-gl-experiment a bit complex code with LibGDX http://mesai0.blogspot.kr/2013/03/outdoorgeo-augmented-reality-camera.html
artilla's personal blog. Sorry for broken English, just in practice