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

    Ubuntu Touch Programming Course

    Scheduled Pinned Locked Moved App Development
    documentationubuntu touch
    113 Posts 27 Posters 67.8k Views 12 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.
      • flohackF Offline
        flohack
        last edited by

        FYI we are in an experimental state with building the sdk again: https://github.com/ubports/usdk-image-tools/pull/1 - if this Pull Request is finally merged it should be able to generate a new SDK ๐Ÿ™‚

        BR

        My languages: ๐Ÿ‡ฆ๐Ÿ‡น ๐Ÿ‡ฉ๐Ÿ‡ช ๐Ÿ‡ฌ๐Ÿ‡ง ๐Ÿ‡บ๐Ÿ‡ธ

        advocatuxA Pulsar33P lfortanetL 5 Replies Last reply Reply Quote 3
        • advocatuxA Offline
          advocatux @flohack
          last edited by

          @flohack wow, that would be really cool \o/

          1 Reply Last reply Reply Quote 0
          • Pulsar33P Offline
            Pulsar33 @flohack
            last edited by

            @flohack Thank you for the answer
            I don't understand very well what is said on your link. Here is my lack of knowledge about collaborative methods of coding. I'm a poor lonesome coder ...
            But if the work is about to succeed, it's a very good news !
            Best regards
            Pulsar33

            Aquaris BQ E5 HD UBports OTA-25 (currently testing features)
            Aquaris BQ E5 HD Ubuntu Edition Canonical OTA-15 (last Canonical version, daily use)
            Raspberry Pi 4 B - 4 GB & 8 GB with various OS and Desktops (UBports not OK)

            1 Reply Last reply Reply Quote 0
            • lfortanetL Offline
              lfortanet @mimecar
              last edited by

              @mimecar Hi...In my opinion, LaTex is the best option, easy and with sufficient resources to guarantee a comfortable edition.

              Enjoying...
              One Plus One OTA-8
              BQ M10 FHD OTA-8

              1 Reply Last reply Reply Quote 0
              • lfortanetL Offline
                lfortanet @flohack
                last edited by

                @flohack Great...It would be great, it's very important for the Ubports ecosystem to have a SDK working without give us a lot of isssues.

                Enjoying...
                One Plus One OTA-8
                BQ M10 FHD OTA-8

                1 Reply Last reply Reply Quote 0
                • U Offline
                  UniSuperBox @mimecar
                  last edited by

                  @mimecar I know that everyone will have their opinion on your choice of technology, but I can say that document flow and downloadable formats are very good with Sphinx and ReStructuredText. At UBports, we mainly use Read the Docs to accomplish our documentation. The Godot game engine also uses Read the Docs for their documentation quite successfully.

                  If you have any questions on using any of these technologies, drop me a PM and I'll be happy to help you get them set up.

                  1 Reply Last reply Reply Quote 0
                  • mimecarM Offline
                    mimecar
                    last edited by

                    Good afternoon.

                    I have dedicated this week to analyzing the different options that I have. For the facilities that it gives, I will use ReadTheDocs. Although it does not give me as much control as the other options (LaTeX, LibreOffice, etc.), it allows me to fulfill the needs that I have:

                    • Reduced time since I finish an entry and it is published.
                    • To be able to have the course in several formats (HTML, PDF, etc.)
                    • Being able to have the documentation in several languages (facilitates collaborations)
                    • Integrated with version control.

                    I'm going to dedicate this month to migrate the course to ReadTheDocs. Next month there would be new delivery of the course. I still do not know if it will be at the beginning or at the end of the month.

                    T 1 Reply Last reply Reply Quote 3
                    • T Offline
                      Talkless @mimecar
                      last edited by

                      @mimecar said in Ubuntu Touch Programming Course:

                      Next month there would be new delivery of the course.

                      This is great news! Thanks a lot!

                      Volla Phone X

                      1 Reply Last reply Reply Quote 1
                      • mimecarM Offline
                        mimecar
                        last edited by mimecar

                        Second version of the doc ๐Ÿ˜›
                        https://pbs.twimg.com/media/DkP8fMjXgAE1m3J.jpg:large

                        advocatuxA 1 Reply Last reply Reply Quote 3
                        • advocatuxA Offline
                          advocatux @mimecar
                          last edited by

                          @mimecar looks great!

                          1 Reply Last reply Reply Quote 0
                          • EllypsisE Offline
                            Ellypsis
                            last edited by

                            Hi @mimecar ! any news about your programming course? Do you need help on anything?

                            1 Reply Last reply Reply Quote 0
                            • Pulsar33P Offline
                              Pulsar33 @flohack
                              last edited by

                              Hello,
                              @flohack said in Ubuntu Touch Programming Course:

                              FYI we are in an experimental state with building the sdk again: https://github.com/ubports/usdk-image-tools/pull/1 - if this Pull Request is finally merged it should be able to generate a new SDK ๐Ÿ™‚

                              BR

                              It seems that something was done some days ago. Is the good sdk available now ?
                              Best regards
                              Pulsar33

                              Aquaris BQ E5 HD UBports OTA-25 (currently testing features)
                              Aquaris BQ E5 HD Ubuntu Edition Canonical OTA-15 (last Canonical version, daily use)
                              Raspberry Pi 4 B - 4 GB & 8 GB with various OS and Desktops (UBports not OK)

                              advocatuxA 1 Reply Last reply Reply Quote 0
                              • advocatuxA Offline
                                advocatux @Pulsar33
                                last edited by

                                @pulsar33 just in case you don't know it, @dobey is working on https://github.com/dobey/ergo

                                Pulsar33P 1 Reply Last reply Reply Quote 0
                                • Pulsar33P Offline
                                  Pulsar33 @advocatux
                                  last edited by

                                  @advocatux : thanks but I don't find a thread speaking of that on this forum and github is a bit vague for me.

                                  @Flohack : any news ?

                                  Best regards
                                  Pulsar33

                                  Aquaris BQ E5 HD UBports OTA-25 (currently testing features)
                                  Aquaris BQ E5 HD Ubuntu Edition Canonical OTA-15 (last Canonical version, daily use)
                                  Raspberry Pi 4 B - 4 GB & 8 GB with various OS and Desktops (UBports not OK)

                                  advocatuxA 1 Reply Last reply Reply Quote 0
                                  • advocatuxA Offline
                                    advocatux @Pulsar33
                                    last edited by

                                    @pulsar33 what I meant with that post is just to let you know that there will be a new toolkit ๐Ÿ™‚

                                    1 Reply Last reply Reply Quote 0
                                    • Pulsar33P Offline
                                      Pulsar33 @flohack
                                      last edited by

                                      @flohack said in Ubuntu Touch Programming Course:

                                      FYI we are in an experimental state with building the sdk again: https://github.com/ubports/usdk-image-tools/pull/1 - if this Pull Request is finally merged it should be able to generate a new SDK ๐Ÿ™‚

                                      BR

                                      @Flohack : I read on your link :

                                      • Generate the SDK for Ubports #1
                                        Merged
                                        mardy merged 5 commits into ubports:master from mardy:ubports 21 days ago

                                      But I'm not sure to understand. Can we use now the Ubuntu Touch Programming Course with the good sdk ?

                                      Best regards
                                      Pulsar33

                                      Aquaris BQ E5 HD UBports OTA-25 (currently testing features)
                                      Aquaris BQ E5 HD Ubuntu Edition Canonical OTA-15 (last Canonical version, daily use)
                                      Raspberry Pi 4 B - 4 GB & 8 GB with various OS and Desktops (UBports not OK)

                                      flohackF 1 Reply Last reply Reply Quote 0
                                      • flohackF Offline
                                        flohack @Pulsar33
                                        last edited by

                                        @pulsar33 Me neither, please ask @mardy or @mimecar ๐Ÿ™‚

                                        My languages: ๐Ÿ‡ฆ๐Ÿ‡น ๐Ÿ‡ฉ๐Ÿ‡ช ๐Ÿ‡ฌ๐Ÿ‡ง ๐Ÿ‡บ๐Ÿ‡ธ

                                        Pulsar33P 1 Reply Last reply Reply Quote 0
                                        • Pulsar33P Offline
                                          Pulsar33 @flohack
                                          last edited by

                                          @flohack : Hello Flohack
                                          Thanks for the answer anyway
                                          @mimecar never replied me ...
                                          @mardy I don't know ...

                                          It seems that there are some explanations in this new thread (work in progress)

                                          Have a nice day
                                          Pulsar33

                                          Aquaris BQ E5 HD UBports OTA-25 (currently testing features)
                                          Aquaris BQ E5 HD Ubuntu Edition Canonical OTA-15 (last Canonical version, daily use)
                                          Raspberry Pi 4 B - 4 GB & 8 GB with various OS and Desktops (UBports not OK)

                                          1 Reply Last reply Reply Quote 0
                                          • shelllavieS Offline
                                            shelllavie
                                            last edited by

                                            Hi, everyone!

                                            Iยดm starting to play with the examples in the book in order to build my own apps. Just last night I used clickable to run the WeatherRecorder app on my desktop (xenial); everything ran pretty well except for the images temperature.png and search.png not loading.

                                            The terminal complains it cannot find them in the build path. Any ideas?

                                            Thanks in advance.

                                            F 1 Reply Last reply Reply Quote 0
                                            • F Offline
                                              fulvio @shelllavie
                                              last edited by fulvio

                                              Hi @shelllavie
                                              the sample applications โ€WeatherRecorderโ€ and โ€WeatherRecorderChartโ€ was made using the Ubuntu-sdk-ide.
                                              After writing them, that tool was deprecated and replaced by โ€˜clickableโ€™.

                                              Running the the sample apps with clickable can be little issues.


                                              Issue 1: icon images .png ( temperature.png and search.png) are not showed when the running on a device (or desktop) and are not include in .click package.

                                              Fix: Add this:
                                              $$files(*.png,true) \
                                              at the existing entry โ€œQML_FILESโ€ in the WeatherRecorde.pro file
                                              the one placed inside the folder containing .png icon and qml files).
                                              With that modification should like this:

                                              QML_FILES += $$files(.qml,true)
                                              $$files(
                                              .png,true)
                                              $$files(*.js,true)


                                              Issue 2: there are incongruous values for โ€˜applicationNameโ€™ parameters in Main.qml and โ€œmanifest.json.inโ€ files.
                                              This could cause an error when trying to run the application on a device.

                                              Fix: Align the values in โ€œMain.qmlโ€ and โ€œmanifest.json.inโ€ to have the same value in both files.

                                              In Main.qml
                                              applicationName: "weatherrecorderchart"

                                              manifest.json.in
                                              "name": "weatherrecorderchart",


                                              I can't update sources on github because the owner of the repo is mimecar.

                                              tnx

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