N Nator Member Licensed User Longtime User Jun 18, 2012 #1 I got this code that is working in most model, But with the Samsung Galaxy Young (GT-S5360L) Andorid 2.3 is no working properly. B4X: Dim gps_interno As GPS gps_interno.Start(15000,0) In the cell phone mentioned, it raise the event GPS_LocationChanged each second and not each 15 seconds. Any suggestion???? thanks for the help Last edited: Jun 18, 2012
I got this code that is working in most model, But with the Samsung Galaxy Young (GT-S5360L) Andorid 2.3 is no working properly. B4X: Dim gps_interno As GPS gps_interno.Start(15000,0) In the cell phone mentioned, it raise the event GPS_LocationChanged each second and not each 15 seconds. Any suggestion???? thanks for the help
Erel B4X founder Staff member Licensed User Longtime User Jun 19, 2012 #2 The minimum time and distance are only a hint to the OS. The OS is allowed to ignore those. You can save the last event time in a global variable and then ignore new events if the time passed is not long enough. Upvote 0
The minimum time and distance are only a hint to the OS. The OS is allowed to ignore those. You can save the last event time in a global variable and then ignore new events if the time passed is not long enough.
N Nator Member Licensed User Longtime User Jun 19, 2012 #3 Thanks for the information, I will try the solution and post the result Upvote 0