Suunto app Forum Suunto Community Forum
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    [Discussion] Share your projects

    Scheduled Pinned Locked Moved Suunto Plus Development
    discussionpeer-support
    4 Posts 2 Posters 288 Views 2 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • S Offline
      SuuntoPartnerTeam
      last edited by SuuntoPartnerTeam

      Greetings, Suunto developers!

      Here you can share your projects, progress, and issues with other Suunto developers. Whether you want to showcase your project, ask for feedback, or look for testers, this is the right place!

      1 Reply Last reply Reply Quote 1
      • Dimitrios KanellopoulosD Dimitrios Kanellopoulos pinned this topic
      • surfboomerangS Offline
        surfboomerang
        last edited by surfboomerang

        I tried to create a SuuntoPlus app for having some notes on my watch which I can review during the activity. I got this working in the simulator and on my watch.

        7d8d04b3-6192-4011-a280-3e624862799c-image.png

        The notes are stored in an array and can be selected in the SuuntoPlus app with the up and down button.

        For test purposes, I stored the notes in the data.json file:

        {
            "notes": [
                "Some important things that you don't want to forget.",
                "Things to do when you arrive at a certain location.",
                "Any other note that is important to you."
            ]
        
        }
        

        I declared the notes array in the manifest

          "settings": [
            {"shownName": "Notes", "path": "notes", "type": "enum"}
          ]
        

        If this app is published in the store, how are people entering their own notes? Is this handled correctly by using the type “enum”? Or do I need to declare a fixed set of notes as string and add them to the array in code?

        Like this:

          "settings": [
            {"shownName": "Note1", "path": "notes.note1", "type": "string"},
            {"shownName": "Note2", "path": "notes.note2", "type": "string"},
            {"shownName": "Note3", "path": "notes.note3", "type": "string"},
            {"shownName": "Note4", "path": "notes.note4", "type": "string"},
           ...
          ]
        

        Suunto Vertical Titanium Solar
        OnePlus Nord 4

        S 1 Reply Last reply Reply Quote 1
        • S Offline
          SuuntoPartnerTeam @surfboomerang
          last edited by

          @surfboomerang
          I did not test your exact code, but things at least work with the following inclusions:

          manifest.json

            "settings": [
              {"shownName": "Note 1", "path": "note1", "type": "string"},
              {"shownName": "Note 2", "path": "note2", "type": "string"},
              {"shownName": "Note 3", "path": "note3", "type": "string"}
            ]
          

          data.json

          {
              "note1": "Some important things that you don't want to forget.",
              "note2": "Things to do when you arrive at a certain location.",
              "note3": "Any other note that is important to you."
          }
          

          Those show up in the iOS/Android app like this:
          phone.png

          surfboomerangS 1 Reply Last reply Reply Quote 1
          • surfboomerangS Offline
            surfboomerang @SuuntoPartnerTeam
            last edited by

            @SuuntoPartnerTeam Thanks for testing. I thnk I can find a workaround for it.
            Is it possible to test the Suunto App behavior as well before the app is published?

            Suunto Vertical Titanium Solar
            OnePlus Nord 4

            1 Reply Last reply Reply Quote 0
            • First post
              Last post

            Suunto Terms | Privacy Policy