Hello,
Vhen i try to obtain the altitude data, i obtain values strongly differents between many smartphones with exactely the same app..
I know that this information is not accurate, but the differences between the smartphones in the same time is stable and very important (+5 times).
For example, on one i obtain 12, while on the 3 others i obtain 66.
I don't understand.
Thank you for any help.
My code is like this :
Vhen i try to obtain the altitude data, i obtain values strongly differents between many smartphones with exactely the same app..
I know that this information is not accurate, but the differences between the smartphones in the same time is stable and very important (+5 times).
For example, on one i obtain 12, while on the 3 others i obtain 66.
I don't understand.
Thank you for any help.
My code is like this :
B4X:
Sub Process_Globals
Dim GPS1 As GPS ' GPS Library Ver 1.20
End Sub
Sub Globals
Dim Altitude As Float
End Sub
Sub Activity_Create(FirstTime As Boolean)
GPS1.Initialize("GPS")
GPS1.Start(0, 0)
End Sub
Sub GPS_LocationChanged(Location1 As Location)
Altitude = Location1.Altitude