datafield touch

Hi,

Is it possible to receive an Input in DataField on Garmin watches ? I saw some old posts where apparently onTap() was working but I It doesn't seem to work in my FR965 Simulator. I wanted to build a datafield where with simple tap i can cycle through and select and item and then write that value to FIT file. But i'm stuck in receiving inputs in datafield.

  • Not deleted.  All prg files get hidden on the current devices. The XML isn't needed and is ignored. 

    So you don't see it when you try to add it in an activity?  Do you see anything in apps/logs and the ciq_log files?  

  • or if the device he built for doesn't match his real device then it can just not show up. Happened to me once

    Yeah, this looks to be something relatively new (introduced in the past ~2 years or so). Historically, it was absolutely possible to copy a PRG from one device type to a different device type, and the app would work on the 2nd device (as much as possible, considering any differences in display type and features). This was done all the time, when users wanted to use an old app on a new device, although it wasn't updated with official support for the new device. [*]

    But more recently, it seems that Garmin implemented a device type check where sideloads only work if the device the PRG was built for is the same type as the device receiving the sideload, as you said. This seems to apply to all newer devices (with CIQ 4+).

    [*] The device type check, combined with the fact that newer devices also "hide" PRGs for all app types (as opposed to hiding none at all, or hiding just 1 or 2 app types), means that the practice of copying PRGs between (current) devices is basically dead. Now users can only copy PRGs from old devices onto old devices.

    It's kinda funny to me that fairly recently, some influencers/bloggers have claimed that copying PRGs from device to device is still possible. I think a lot of stuff has changed wrt to Connect IQ that non-devs are unaware of. (This ofc is layered on top of various misunderstandings which have been around forever.)

    The other thing that's widely misunderstood imo is the removal of widgets in favour of "super apps". Ppl still refer to a device app with a glance as a "widget", even though you absolutely cannot search for "widgets" (as an app type) when you open the Connect IQ store app and select a CIQ 4+ device. Arguably it doesn't matter whether users can distinguish between "widgets" and "device apps with a glance", except there's some edge cases where it does matter, such as when an old widget is updated for newer devices, but it lacks a glance view because none was explicitly provided by the dev. I've seen a couple of posts where users of such an old app have complained that the app is no longer useful on newer devices because it can't be launched while an activity is running, for example.

  • "All prg files get hidden on the current devices"

    To clarify this statement, PRG files are moved to storage that's inaccessible to the end user.

    I don't like to say "hidden" personally (without using scare quotes and/or clarifying), bc in other contexts, hidden files can usually be trivially revealed by the end user, which isn't the case here.

    There's also other stuff on Garmin watches which are inaccessible to the end user (via USB mass storage / MTP), such as wi-fi passwords and sensor pairings.

    I think the common denominator is that any data which could be considered sensitive is not accessible to the end user. The practice of "hiding" PRGs started with music provider apps, continued with another app type, and was eventually extended to all app types.

  • It's kinda funny to me that fairly recently, some influencers/bloggers have claimed that copying PRGs from device to device is still possible. I think a lot of stuff has changed wrt to Connect IQ that non-devs are unaware of. (This ofc is layered on top of various misunderstandings which have been around forever.)

    On some older devices it's possible, but not recommended.

    I've seen a growing amount of incorrect/incomplete information on places like Reddit, with some very clearly the result of using things like an AI chat

    I have a friend who sometimes sends me links to the most laughable posts he sees on places like Reddit

  • Thank you guys for your help. I managed to make my DF run on my FR965 with touch working ;) ( I'm not what wen wrong but maybe build it fro edge before). Now it all work. Thanks a lot. 
    Now I need make Garmin to allow me to access the connect API :D 

  • quick quesion though. How to delete the DF ? Form ConnectIQ app on the iPhone it show me 3 data fields then I open the list i have only 2 ( from official IQ store). So I don't know how to delete my datafield from my watch :) 

  • Use Garmin Express

    You mean you want it in the app store?  You need a developer account there.  Then you export your app, creating an iq file.  Then upload your app to the store, adding info and at least a couple of pictures.  It can take a couple business days to be approved.

  • no, just want to clean my watch :) For now it's only a personal/prototype i'm exploring things ;) 

  • Use Garmin Express on a pc or mac  and you can remove your app. in the Connect IQ section

  • Thanks a lot , I've managed to do that :)