simple app : problem with Toybox.PersistedContent

Hi,
I'm new, and I 'm trying to develop a simple app.
In my app, I have a problem with Toybox.PersistedContent
Here's is an example :

using Toybox.PersistedContent as Content;
using Toybox.Application as App;

class Dudu extends App.AppBase {

function initialize() {
AppBase.initialize();
var listewp = Content.getRoutes();
}

function onStart(state) {
}

function onStop(state) {
}
}


the build is OK, but when I launch the app, there is an error :
Failed invoking <symbol>
Symbol Not Found Error
in dessine_WP (D:\...\Dudu.mc:8)

Probleme with the Content.getRoutes() module ????

If some could help me
My app is on Eclipse, and I've checked the update, it's OK

Thanks
  • The correct place for this is really in the top level CIQ forum (the developer forum) :)

    One thing you failed to mention is which device you're using, as PersistedContent/Routes aren't available on all devices, and that would explain the "symbol not found". (include the FW version, as it also needs 2.2.x CIQ on the device itself.)
  • OK,thanks for the answer
    I've understanded that, for my Fenix3, I can't use Routes and Waypoints in my app.
    That is very very odd and sad for me
    I hope this will change in next versions of Connect IQ, cause the Routes and Waypoints are in the Fenix

    Thanks
  • That is very very odd and sad for me

    The fenix3, and all other first generation devices (fr230, fr235, fr630, fr920xt, vivoactive, ...) only support ConnectIQ 1.x features. That is just the way it is, and as I understand it this is not going to change.

    I hope this will change in next versions of Connect IQ, cause the Routes and Waypoints are in the Fenix

    I don't think you'll see these features exposed in any of the ConnectIQ 1.x releases. The early devices just don't have the resources available to expose all of the built-in functionality through the ConnectIQ API.

    Travis
  • Former Member
    Former Member
    Sorry for my bad language, Travis, but you just turned my brand new Quatix 3 into a very expensive fishing lure. I don't want to barking at the wrong tree. Any suggestions on were I can ventilate my frustration about the lack of features in this sad lure?
  • CIQ 1.x devices will be staying at 1.x. No hope for an update to 2.x. As Travis said, early watchs just don't have the resources.

    But if you just got the q3, maybe you could return it and get the q5? the q5 just came out, and is 2.x and very similar to the f5.