Roman, thank you, that is exactly what I mean.
Google said to me that it has something with:
kalman or complementary filter, gimbal lock, quaternions arithmetic with matrixes ( there I can use iemmatrix library)
my input data are: accX, accY, accZ, pitch yaw, roll (from HTC desire)
how to get this together ?
fk.