Hi,
I have a problem with the translation of the accelerometer results
from the phone to the world orientation.
The Z results seem OK but the X and Y get wrong values.
It was tested on HTC Hero in horizontal and vertical orientation and
on stable state and during phone movement.
The Z results
Hi,
I have a problem with the translation of the accelerometer results
from the phone to the world orientation.
The Z results seem OK but the X and Y get wrong values.
It was tested in horizontal phone move.
Attached is the code.
public void onSensorChanged(SensorEvent event) {
2 matches
Mail list logo