Android Sensor.TYPE_ORIENTATION works perfect and I can't get the same results with accelerometer and magnetometer

被刻印的时光 ゝ 提交于 2019-12-06 07:17:15
felixd

I used the code that I posed here and it worked well only when the phone (Samsung Galaxy S3) layed flat. But it's a start: It doesn't work better than Sensor.TYPE_ORIENTATION nor worse.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!