My app records the GPS position to a file every 30 seconds.
This is the beginning of the file (in Italy).
As you can see, the recordings follow one another exactly every 30 seconds.
This is the code
The same app, however, on another smartphone in Finland, does not behave in the same way.
I have put in brackets the actual interval in seconds which is very often very different from 30 seconds.
This is the beginning of the file (in Finland).
What could be the causes of this serious malfunction? The cold, the overloaded smartphone, ...?
This is the beginning of the file (in Italy).
44.386376,6.963991,0,5538,,,08:23:41
44.386376,6.964008,0,5536,,,08:24:11
44.386379,6.964004,0,5528,,,08:24:41
44.386391,6.963748,0,5512,,,08:25:11
44.386445,6.963634,0,5524,,,08:25:41
44.386445,6.963634,0,5524,,,08:26:11
44.386448,6.963608,0,5516,,,08:26:41
44.386453,6.963313,0,5529,,,08:27:11
44.3864,6.962883,0,5519,,,08:27:41
44.38633,6.962685,0,5521,,,08:28:11
As you can see, the recordings follow one another exactly every 30 seconds.
This is the code
B4X:
RegistraOgni=30000
If Not (TimerRegistra.IsInitialized) Then
T1=Main.RegistraOgni
TimerRegistra.Initialize("TimerRegistra",T1)
TimerRegistra.Interval=T1
End If
The same app, however, on another smartphone in Finland, does not behave in the same way.
I have put in brackets the actual interval in seconds which is very often very different from 30 seconds.
This is the beginning of the file (in Finland).
later in the file the problem occurs again68.913047,27.00802,0,505,,,12:38:46
68.913046,27.00801,0,518,,,12:41:20 (154)
68.913046,27.00801,0,518,,,12:49:50 (510)
68.913046,27.00801,0,518,,,13:09:53 (1203)
68.913046,27.00801,0,518,,,13:20:03 (610)
68.927047,27.04802,0,505,,,13:25:54 (351)
68.927047,27.04802,0,505,,,13:26:24 (30)
68.927047,27.04802,0,505,,,13:26:54 (30)
68.927044,27.04804,0,501,,,13:27:24 (30)
68.927044,27.04804,0,501,,,13:27:54 (30)
68.951205,27.11586,0,557,,,15:25:14
68.951205,27.11586,0,557,,,15:26:38 (84)
68.951205,27.11586,0,557,,,15:37:57 (679)
68.951205,27.11586,0,557,,,15:49:55 (708)
68.921410,27.05074,0,534,,,15:55:01
What could be the causes of this serious malfunction? The cold, the overloaded smartphone, ...?