I have a GPS based application (a rally computer) that I developed under B4A version 4.x. One of the things it does is display GPS time. The time would update every second and the application worked very well.
I have now updated to B4A 8.0 and have set:
<uses-sdk android:minSdkVersion="20" android:targetSdkVersion="26"/>
When I run the application the GPS LocationChanged is only triggered sporadically. Occasionally it will be triggered every second but usually the first trigger happens a considerable time after the event is triggered and subsequent triggers are infrquent.
I changed the code to use a service to handle the GPS as per the GPS tutorial hoping it would help but it made no obvious difference.
The GPS app given in the tutorial works fine with the LocationChanged event being triggered every second.
Anyone have any thoughts on this?
The test device is a Samsung Galaxy S8 but I have seen the same on other devices I have tried, including devices that the previous version had worked on.
My next step will be to simplify the application and seeing what makes a difference.
Thx
I have now updated to B4A 8.0 and have set:
<uses-sdk android:minSdkVersion="20" android:targetSdkVersion="26"/>
When I run the application the GPS LocationChanged is only triggered sporadically. Occasionally it will be triggered every second but usually the first trigger happens a considerable time after the event is triggered and subsequent triggers are infrquent.
I changed the code to use a service to handle the GPS as per the GPS tutorial hoping it would help but it made no obvious difference.
The GPS app given in the tutorial works fine with the LocationChanged event being triggered every second.
Anyone have any thoughts on this?
The test device is a Samsung Galaxy S8 but I have seen the same on other devices I have tried, including devices that the previous version had worked on.
My next step will be to simplify the application and seeing what makes a difference.
Thx