Sideload a data field

Former Member
Former Member
Hi, sorry for the dumb question, but I created a Datafield based originally on the SimpleDatafield sample, and tested it with the simulator. Now when I try and test it by sideloading to GARMIN/APPS, the datafield is not visible as a datafield but shows as a watch. What am I doing wrong?
  • It sounds like you may have the wrong app type in the manifest.xml file.

    The end of the second line should look something like this:

    launcherIcon="@Drawables.LauncherIcon" name="@Strings.AppName" type="datafield">
  • Former Member
    Former Member over 9 years ago
    Here is the second line in manifest.xml:
    <iq:application entry="SimpleDataField" id="394F84AE4C1147FD93605F3DD9048DEE" launcherIcon="LauncherIcon" name="AppName" type="datafield">


    Could it be the GUID needs to be changed from the original in the sample?
  • There could be some kind of conflict, but in the Programmer's guide, it tells you how to generate a new UUID so you could try it. (note - if the generated one has "-"'s in it, take those out)
  • Former Member
    Former Member over 9 years ago
    There could be some kind of conflict, but in the Programmer's guide, it tells you how to generate a new UUID so you could try it. (note - if the generated one has "-"'s in it, take those out)


    I did that and its working great now :-)


    I think maybe before I generated the GUID, the 735xt was confusing my datafield with a watch app I have called Optimus HR. Maybe Optimus HR is using the same GUID as the SimpleDatafield example?
  • No Datafield on device?

    I have the same problem, the datafield is successfully exported by eclipse,
    but neither in garmin express nor on the watch the datafield can be chosen or seen.
    In which directory should I export the datafield on the watch (920XT)?
    I also generated a new ID, but it changed nothing, in the simulator everything runs fine :confused:
  • When you sideload, the .prg goes in the \garmin\apps folder on the watch. In Eclipse, "Connect IQ>Build for device wizard" is a good way to do it.

    Once it's there, it should show up in the Connect-iq section when you select a data field for an activity like "run".

    Or did you submit it to the app store and then download it? It will still be in \garmin\apps but will have an 8 character store generated name.
  • Works now

    I had it in the wrong directory on the watch, now it works, thnx!
  • Hi all,

    Sorry to dig up this old thread, but I'm having trouble sideloading my first datafield for testing - it doesn't appear in the list of datafields for adding to an app.

    It was generated based off another project I also have loaded, so it's quite likely to be the GUID conflict mentioned above, but I've looked through the Programmers Guide and can't find the section on regenerating the GUID.

    Can someone point me to the section in the docs, or a hint on where to look in Eclipse?

    I temporarily tried manually changing a character in the id in the manifest.xml as a last resort, but that didn't help.

    Cheers,

    John
  • Ah, always the way - just after posting I found a reference in the "Developers" docs, not the Programmers Guide - which points to an online generator:
    https://www.uuidgenerator.net/version4

    I used a v4 guid from here, removed the dashes and put it into the manifest file manually, but I still don't see the datafield in the selector, although GCM shows the new datafield in the storage section, but not in the datafields section.
    I assume there's somewhere else to enter the GUID rather than into the manifest directly, since that's a generated file - where does it go?

    Anyone got any more hints?

    John