OnUpdateNavigationState () error

I am currently upgrading from Skobbler 2.3 to the latest 2.5 and I am finding a navigation bug.

When onUpdateNavigationState () is called, all data in the SKNavigationState is always empty. For example, getCurrentAdviceDistanceToAdvice () is always 0, getCurrentAdviceCurrentStreetName () is always "", etc. The only value that keeps getting populated is getCurrentAdviceTimeToDestination (), but this value is always wrong. The value should be in the 16 o'clock area, but more like 440 o'clock.

Other problems:

  • Visual recommendations are not displayed correctly
  • Audio messages are not audible, whether using text-to-speech or audio files.

Interestingly, the route was calculated correctly. The map is displayed correctly, complete with road names, etc. The map can be resized, scaled, etc. When starting navigation, the calculated route is displayed correctly, and when using the simulator, tracking mode is activated correctly and the vehicle is following the calculated route. However, the SKNavigationState object always contains empty values, even when looking at the map, I can see the road name displayed.

I checked SKMaps.zip and included correct language files etc.

Initially I tried upgrading from 2.3 to 2.5. After that failed (i.e. with the problems above) I gave up the update and now I unzip the SKMaps.zip to a completely new location on the disk, but the problem persists. No maps preinstalled.

The problem occurs even after uninstalling the application. I tried the installation on a completely different phone and the problem still remains.

None of these have been a problem with API 2.3, which just worked. Any help would be appreciated.

Testing phones:

  • Galaxy S3 runs Android 4.3
  • Galaxy Note 4 running Android 5.0.1
+3


source to share


1 answer


I had the same problem a few weeks ago, I found out that the paths in which the advisor files (audio, tips and other files) were wrong. I would recommend that you debug the application where the AdvisorSettings files and paths are configured, and double check if these paths are well configured and the files inside them are located correctly.



Sincerely.

+3


source







All Articles