• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
UBports Robot Logo UBports Forum
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login

Core Apps & Documentation Updates #2

Scheduled Pinned Locked Moved App Development
12 Posts 6 Posters 1.7k Views 3 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.
    • B Offline
      bhdouglass
      last edited by 18 Dec 2018, 21:25

      Hello again friends! I have another quick update on the core apps & developer documentation.

      • Weather
        • Removed "The Weather Channel" data provider
        • Moved to GitLab
      • Welcome App
        • Moved to GitLab
        • Fixed broken links
        • Cool visual refresh coming soon
      • Gallery
        • Moved to GitLab
      • Calendar
        • Fixed setting of the default calendar
        • Fixed custom reminders
        • Improved working hours
        • Fixed long pressing to add events
        • Recurring events have their intervals shown in the event details
      • Document Viewer
        • Moved to GitLab
      • Developer Documentation
        • Tutorial on writable directories
        • Tutorial on Push Notifications
        • Tutorial on User Metrics

      Thanks to all the hard work of our Core App developers/contributors, all the great translators, and our documentation writers!

      open-store.io && bhdouglass.com

      ? A 2 Replies Last reply 18 Dec 2018, 21:34 Reply Quote 6
      • ? Offline
        A Former User @bhdouglass
        last edited by 18 Dec 2018, 21:34

        🙂 Well done with this, @bhdouglass

        1 Reply Last reply Reply Quote 0
        • B Offline
          bhdouglass
          last edited by 18 Dec 2018, 21:39

          It wasn't all me, it wouldn't be possible without the many contributors!

          open-store.io && bhdouglass.com

          L 1 Reply Last reply 18 Dec 2018, 21:44 Reply Quote 2
          • L Offline
            Lakotaubp @bhdouglass
            last edited by 18 Dec 2018, 21:44

            @bhdouglass Thanks to one and all once again.

            1 Reply Last reply Reply Quote 1
            • A Offline
              advocatux @bhdouglass
              last edited by 18 Dec 2018, 22:01

              @bhdouglass & team, great job once again !!

              1 Reply Last reply Reply Quote 0
              • F Offline
                fulvio
                last edited by 21 Dec 2018, 16:46

                Hi All,
                if can help, i have published some application templates to use as starting point for Application development based on AdaptiveLayout, ListView, Chart, PageStack.
                Templates and How to tutorial can be found at: https://github.com/fulvio999/ubports_app_templates
                @bhdouglass If you want, feel free to clone, edit or include in the doc.
                Thanks

                M 1 Reply Last reply 23 Dec 2018, 18:23 Reply Quote 3
                • M Offline
                  matteo @fulvio
                  last edited by matteo 23 Dec 2018, 18:23

                  @fulvio Hi fulvio, thank you for your templates, I find your work very useful, great! Unfortunately, as all the new things though, it doesn't work for me at the first attempt.
                  It is worth to mention I have installed clickable and cookiecutter and I'm following your tutorial. This is the output I got, I'm not even able to get to the point where cookiecutter asks me for the name of the app:

                  https://paste.ubuntu.com/p/75M66js42D/

                  Matteo

                  M 1 Reply Last reply 23 Dec 2018, 18:28 Reply Quote 0
                  • M Offline
                    matteo @matteo
                    last edited by 23 Dec 2018, 18:28

                    @fulvio never mind, I just solved by myself, 'cause I'm really a dumb....I set the address pointing to the cookiecutter.json, writing it as './ubports_app_templates-master/ChartJs/cookiecutter.json' but in this way it is interpreted by the command as written twice. I can now proceed.

                    Best regards,

                    Matteo

                    1 Reply Last reply Reply Quote 0
                    • F Offline
                      fulvio
                      last edited by 23 Dec 2018, 18:46

                      Hi @matteo,
                      you must use the FULL path to the cookiecutter.json file of the template that you want use.
                      I have updated the Readme file on github (see "Example" section)
                      Tnx

                      M 1 Reply Last reply 24 Dec 2018, 17:01 Reply Quote 2
                      • M Offline
                        matteo @fulvio
                        last edited by 24 Dec 2018, 17:01

                        @fulvio nice, how you changed that sentence is much clearer now, thanks 😉 May I ask you a question? I'm right now mainly interested in the ChartJs template, to generate a chart starting from data. If I wanted to generate a chart from X and Y data produced by different sources, how could I proceed? I mean, can I use a different data file source as for instance a LibreOffice sheet or just a plain text file which is randomly populated, instead than the ChartDataSource.js, where the data are static?
                        Any hint would be greatly appreciated.

                        Thank you!

                        Matteo

                        F 1 Reply Last reply 27 Dec 2018, 18:48 Reply Quote 0
                        • F Offline
                          fulvio @matteo
                          last edited by 27 Dec 2018, 18:48

                          Hi @matteo,
                          yes is possible load data from a different source, like a database sqlite the database used by Ubuntu touch (Ubports)
                          For an example about chart + data loaded from sqlite database look at this:
                          https://mimecar.gitbook.io/qt-course/en/chapter-05-advanced/chapter-05-s01
                          ("Database access with QML" and "QML and Charts" chapters)
                          The sample App associated with "QML and Charts" chapter can be found here:
                          https://github.com/mimecar/ubuntu-touch-programming-course-src
                          (is the project named: WeatherRecorderChart)
                          NOTE: that project are made with old Ubuntu sdk - ide But should work also with clickable (just 'clickable desktop' in the folder with the .pro file)
                          In case of does not work with clickable, the source code of the sample App is valid you can use it.

                          the two file you are interested are:
                          'ChartUtils.js' is the file containing the query to load data from sqlite database and prepare the data-set for the chart
                          'ChartPage.qml' is the qml page where the chart is drawn


                          To load data from a Libre Office sheet...sorry but i don't know how to do (maybe someone here have an idea, solution).

                          Tnx

                          1 Reply Last reply Reply Quote 1
                          • B Offline
                            bhdouglass
                            last edited by 27 Dec 2018, 20:49

                            @fulvio I've added a link to your templates to the ubport's docs (it's not quite there yet, still a PR): https://github.com/ubports/docs.ubports.com/pull/174

                            open-store.io && bhdouglass.com

                            1 Reply Last reply Reply Quote 1
                            5 out of 12
                            • First post
                              5/12
                              Last post