The accelerometer data is purely used to detect which way is up and which way is down, whereas the magnetic field sensor is needed for the axis which determines north/south/east west. They are both required. Try using a regular compass while it's not flat, it won't work.
The accelerometer essentially tells the orientation code how to translate the x/y/z results from the magnetic field sensors.
The accelerometer data is purely used to detect which way is up and which way is down, whereas the magnetic field sensor is needed for the axis which determines north/south/east west. They are both required. Try using a regular compass while it's not flat, it won't work.
The accelerometer essentially tells the orientation code how to translate the x/y/z results from the magnetic field sensors. If however, you told your user that to use the app, they would have to lie their phone flat on its back, (or on its front, or side, etc) then you wouldn't need the accelerometer. You don't need to use SENSOR_DELAY_GAME, SENSOR_DELAY_NORMAL might even be enough, it would certainly use less battery.
However, if you need really accurate results, use SENSOR_DELAY_FASTEST.
Upvoted: you have beaten me. – Ali May 23 at 19:38 thanks a lot. I'm curious why you don't think I'd need to use SENSOR_DELAY_GAME for a game.(I'm concerned not just about battery but also about time in my listener.) – espertus May 23 at 19:46 The names of the delays are arbitrary, I don't know why google chose the names or their values.
But what I can say, is you always want to use the least intensive battery method that will work, your users will be grateful. There's no point draining battery when you don't need the extra accuracy. Just use the slowest one that has adequate performance for your specific needs – Jodes May 23 at 19:51.
I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.