Datas from Widgets in a WatchFace

Former Member
Former Member
Hi,

Is posible to show in a WatchFace datas from Widget, for example Widget of Weather or Last Activity or similar? Which is the code I have to write to show those datas? Or how I call the Widget and How their shows the datas? I saw a WatchFace which show those datas, but I want to do my own WatchFace with that.

Thanks for all and your help
  • Former Member
    Former Member over 8 years ago
    No one can help me? Please I need your help to finish my app

    Thanks for all and your help
  • You can't access widgets from within a watchface. Some data is available (like step, daily calories, daily distance, etc) by using things in ActivityMonitor.

    Provide a link to the watchface where you saw the extra things you want, but likely it's things from ActivityMonitor, or things (like elevation) from Activity.
  • Former Member
    Former Member over 8 years ago
    You can't access widgets from within a watchface. Some data is available (like step, daily calories, daily distance, etc) by using things in ActivityMonitor.


    And access from WatchApp? And access the weather forecast data?

    Thanks for all and your help
  • And access from WatchApp? And access the weather forecast data?

    Thanks for all and your help


    Not from a watchapp either. For weather data, you can go out and get that from the internet with a widget or watchapp (makeJsonRequest() and makeWebRequest() ) and a data source for it on the net.
  • Former Member
    Former Member over 8 years ago
    Not from a watchapp either. For weather data, you can go out and get that from the internet with a widget or watchapp (makeJsonRequest() and makeWebRequest() ) and a data source for it on the net.


    Could you say me an example how use those instructions in a code to program the app?

    Thanks for all and your help
  • Former Member
    Former Member over 8 years ago
    How Use makeWebRequest

    How Can I used the instruction makeWebRequest, to obtain datas form a web of forecast weather and use the data of Temperature, rain posibility, cloudy, sunny or rainy day? I new with this code of program and I would like to learn about it and program my own App for the device Garmin.

    If anyone could write an example to use the instruction, I´d appreciate so much

    Thanks for all and your help
  • This can be as solution for you: We just released a service that enables secure communication between apps.  You can learn more at https://dacrosse.com

  • dudes i am still stuck within this drama:

    i have a watchface, running on watches with rest support, yet no background support, like fenix3_hr.

    how can i possibly have data from rest services on my watchface?
    at first i thought i should make a widget to retrieve, so that watchface could use, but i know no means to make data interchangeable between botth apps (wf & widget).

    i'm troubled. plz help.

  • You can only do Comm from a watchface by way of a background service.  Watches like the f3hr (it's CIQ 1.4) don't support background services, so you can't use that.  The current generation of watches, like the fr965 support complications, where a widget can do the comm and a watchface can subscribe to that data, but that won't help with the f3hr.

    There's no other way to share data between a widget and watch face.  Here's a bug report done by one of the Garmin people as really just a place holder as so many people were asking about it, but note, that it won't be implemented.

    https://forums.garmin.com/developer/connect-iq/i/bug-reports/allow-shared-storage-between-apps

  • please, then let me do the straight question, for good:

    there is definitely no way for watchface to show requested in ciq1.4?