• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
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.7k 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.
    • T Offline
      tatonuta
      last edited by 8 Jul 2018, 12:43

      This post is deleted!
      1 Reply Last reply Reply Quote 0
      • T Offline
        tatonuta
        last edited by tatonuta 7 Aug 2018, 22:52 8 Jul 2018, 22:10

        Hello! I am having a problem with creation of Kits (pages 15-19 of the PDF).

        I try to create new Kit/Build target (as described on pages 15-19) and I choose option "Build and run your application locally on the Desktop", and click "Next", and choose the "Ubuntu-sdk-15.04-dev" and click "Next", and choose target name "default", and click "Finish"

        then a window appears showing that the kit is being downloaded

        0_1531090363679_Zrzut ekranu z 2018-07-09 00-50-08_same-okno.png

        and finally an error message appears:

        • Creating image with: framework: ubuntu-sdk-15.04 arch: amd64
          error: Failed to load raw.lxc
          ---Task exited with errors, please check the output---

        0_1531087501292_Zrzut ekranu z 2018-07-08 23-45-58_800px.png

        The same error happens when I try to do the kit under "Build your application to run on a Ubuntu device or emulator" and choose "Ubuntu-sdk-15.04-dev".

        [I do not use Wizard because I had errors during the first try and the "Do not show this Wizard the next time" was ticked so I have no access to the Wizard anymore. But I have found equivalent wizard in QTcreator - Tools - Ubuntu so I use this one]

        I am doing it on a new, freshly installed Ubuntu 16.04.4. Before this errors I had errors similar to people who wrote in this thread and I used their/your hints to overcame those errors (like changing .

        1 Reply Last reply Reply Quote 0
        • T Offline
          tatonuta @mimecar
          last edited by 9 Jul 2018, 22:32

          @mimecar said in Ubuntu Touch Programming Course:

          Good afternoon.
          You can now download the resources I used in the UbuconParis 2017 workshop. The virtual machine has the following features:

          Ubuntu 16.04 with the Mate desktop.
          SDK already configured with IDE icon on the desktop.
          The workshop exercises are saved in the User Folder.

          Hi! Thanks for doing it! After several hours I still have problems with installing Ubuntu SDK IDE so it looks like a perfect solution for me.

          I have downloaded the 13 GB files. What do I do now?

          A 1 Reply Last reply 10 Jul 2018, 05:23 Reply Quote 0
          • A Offline
            advocatux @tatonuta
            last edited by 10 Jul 2018, 05:23

            @tatonuta you need to configure VirtualBox on your computer before installing those downloaded files.

            T 1 Reply Last reply 10 Jul 2018, 19:00 Reply Quote 1
            • T Offline
              tatonuta @advocatux
              last edited by 10 Jul 2018, 19:00

              @advocatux Thanks! Is this a right tutorial for mounting VirtualBox? http://nomone.com/2016/11/05/mounting-a-vdi-file-in-ubuntu/ If yes: I have made all steps which are in the instructions and have successfully mounted the /dev/nbd0p1. But what should I do next? What command? How can I install the downloaded file?

              A 1 Reply Last reply 10 Jul 2018, 19:15 Reply Quote 0
              • A Offline
                advocatux @tatonuta
                last edited by 10 Jul 2018, 19:15

                @tatonuta those instructions you've linked are for quemu, not virtualbox

                I think Virtualbox is easier if you don't have previous experience with VM, so install virtualbox and then follow this http://linuxbsdos.com/2015/11/13/how-to-import-a-virtual-machine-image-into-virtualbox/

                T 1 Reply Last reply 10 Jul 2018, 22:43 Reply Quote 1
                • T Offline
                  tatonuta @advocatux
                  last edited by 10 Jul 2018, 22:43

                  @advocatux Thanks a lot. It worked for me. πŸ™‚

                  1 Reply Last reply Reply Quote 1
                  • M Offline
                    mimecar
                    last edited by 30 Jul 2018, 18:51

                    Good afternoon.

                    I wanted to comment on the status of the programming course. For personal reasons I have left the course on hold. In these moments with the day to day I already have enough.

                    I have reviewed the GitBook server and I see that several things have changed. Now the course is within the "legacy" subdomain and some functions like the start page have been disabled. The book can be updated but with several conditions:

                    • The book can only be in HTML format.
                    • Plugins no longer work.

                    For these reasons I am considering changing the platform of the course. It does not convince me to generate documentation only in HTML format. The platforms that I see reasonable are:

                    • LaTeX
                    • Sphynx.
                    • LibreOffice.

                    Of the three platforms I see more powerful LaTeX. It is true that it does more work than using Markdown + GitBook, but it also allows you to better adjust the output in all formats.

                    What is your opinion?

                    A P L U 4 Replies Last reply 30 Jul 2018, 19:39 Reply Quote 2
                    • A Offline
                      advocatux @mimecar
                      last edited by advocatux 30 Jul 2018, 19:39

                      @mimecar hi, good to see you πŸ™‚

                      Yes, LaTeX is more complete than the other two tools, and its output has the highest possible quality, but it has the steeper learning curve too, and that's not good if you want people helping you with your course, someday.

                      I personally don't see LibreOffice as a good option, so my opinion based in tool functionality, and user-friendliness, I think Sphynx is the best option πŸ™‚

                      1 Reply Last reply Reply Quote 0
                      • P Offline
                        Pulsar33 @mimecar
                        last edited by 30 Jul 2018, 23:11

                        @mimecar Hello

                        I follow this forum since some months and I was really happy to discover your work (as I said above). There was a chance for me to develop GUI for usefull functions, which is my favorite hobby. I've been programming since the 80's with so many old langages, from microcode to object oriented. However, I don't know about collaborative methods of coding. It's difficult for me to involve in big projects. Nevertheless, I thought that your work could help me to be usefull for the community.

                        Unfortunately, I'm blocked (as described to youself and others above). I've read that I'm not the only one to have problems. So, mimecar, sorry but I've no idea about the questions you asked. But what I know is that it would be more usefull for the community to give your time in unblocking volunteers instead of improving your (really nice) documentation. Is it possible please ?

                        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
                        • F Offline
                          flohack
                          last edited by 31 Jul 2018, 07:06

                          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: πŸ‡¦πŸ‡Ή πŸ‡©πŸ‡ͺ πŸ‡¬πŸ‡§ πŸ‡ΊπŸ‡Έ

                          A P L 5 Replies Last reply 31 Jul 2018, 07:07 Reply Quote 3
                          • A Offline
                            advocatux @flohack
                            last edited by 31 Jul 2018, 07:07

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

                            1 Reply Last reply Reply Quote 0
                            • P Offline
                              Pulsar33 @flohack
                              last edited by 31 Jul 2018, 07:18

                              @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
                              • L Offline
                                lfortanet @mimecar
                                last edited by 1 Aug 2018, 05:45

                                @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
                                • L Offline
                                  lfortanet @flohack
                                  last edited by 1 Aug 2018, 05:51

                                  @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 2 Aug 2018, 23:54

                                    @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
                                    • M Offline
                                      mimecar
                                      last edited by 9 Aug 2018, 18:42

                                      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 9 Aug 2018, 19:40 Reply Quote 3
                                      • T Offline
                                        Talkless @mimecar
                                        last edited by 9 Aug 2018, 19:40

                                        @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
                                        • M Offline
                                          mimecar
                                          last edited by mimecar 8 Oct 2018, 16:18 10 Aug 2018, 15:27

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

                                          A 1 Reply Last reply 10 Aug 2018, 16:28 Reply Quote 3
                                          • A Offline
                                            advocatux @mimecar
                                            last edited by 10 Aug 2018, 16:28

                                            @mimecar looks great!

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