Periodic Updates - Navigation Directions

Jan Serve shared this question 1 year ago
Answered

Hi,

I bought recently a Android Wear, now I wanted to get some basic information from Locus onto the watch. Thanks to the API it isn't a big problem, but now I struggle a bit.

I heavily use the navigation part of locus, but this information seems not being part of the periodic updates?

I see in ExtraData.java that there are variables(ex.: VALUE_RTE_ACTION_LEFT and VALUE_RTE_ACTION_LEFT), but I not see any correspending in the periodic update?

Is there some part which I miss, or is my idea to retrieve the navigation instruction not possible via the API?

Best regards

Jan Serve

Comments (2)

photo
1

Good day Jan,

nice to see, someone is using API for own purpose. Anyway feature you wants is really not yet available over API.

Add-on for Wearable devices is not out priority now, but is partially planned to last quarter of this year. And display of current navigation commands is one of required features, agree. So when we start some work on own add-on, this feature will be probably added to API because of our own needs. Till then, I'm worried you won't get these data over API.

photo
1

Hi,

thanks for the fast response.

Then I need to life with the fact that I just have the basic informations available until the API grows :)

Best regards

Jan Serve