• 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.
    • A Offline
      andybleaden
      last edited by 12 Apr 2017, 19:24

      This is looking more fab each time I look at it

      I looked at this as an app and found it really interesting. Thanks for sharing and also thanks for all the hard work that has gone into this

      I got my Nexus 4 then 5 then FP2 then one plus cooking on #UBUNTU via @ubports and have run it on Op3T Op6t OP5T Pinephone/Pro Pine Tab and Pinebook Pro and my favourite OnePlus One.

      1 Reply Last reply Reply Quote 1
      • P Offline
        pglushkov
        last edited by 13 Apr 2017, 09:51

        This really is a great work you are doing! Just want to say 'Thank you!' and ask to finish the whole thing, it will be a great place for any beginner to really get 'hands dirty' with the code!

        1 Reply Last reply Reply Quote 1
        • M Offline
          mimecar
          last edited by 14 Apr 2017, 10:35

          To make it easier to follow the course I will define a fixed date in which I will publish the translation of a chapter. If no unforeseen arise, I will publish a new chapter in the last weekend of each month.

          The next delivery will be on Saturday April 29 and will include:

          • CH3 - Creating a Web App
          • CH4 - Creating an Application with QML (1)

          The course can be downloaded in ePub, PDF and Mobi formats. If you have any problems with the downloads do not hesitate to comment.

          1 Reply Last reply Reply Quote 0
          • M Offline
            mimecar
            last edited by mimecar 30 Apr 2017, 18:32

            Goodnight.

            I just published the translation of two new chapters of the course:

            • Chapter 03: Web Apps.
            • Chapter 04 - S01: Introduction to QML language.

            You can read them in the course book

            1 Reply Last reply Reply Quote 1
            • F Offline
              flyingP0tat0
              last edited by 1 May 2017, 15:36

              I would try to translate your English translations into German, if that is possible. I have never worked with GitBook, is there any functionality letting me translate it?

              1 Reply Last reply Reply Quote 0
              • M Offline
                mimecar
                last edited by 1 May 2017, 15:56

                Hello flyingP0tat0

                GitBook has no tools to do the translation. The workflow could be:

                • I share the document in English in Google Docs.
                • On that document you do the translation.
                • After reviewing the translation, I incorporate it into the course as one more language.

                This way you work on a text editor and you do not have to know how GitBook works.

                1 Reply Last reply Reply Quote 0
                • F Offline
                  flyingP0tat0
                  last edited by flyingP0tat0 5 Jan 2017, 18:22 1 May 2017, 18:20

                  Yep, sounds great. I can also just translate from the PDF GitBook provides and send you the Google Doc afterwards.

                  1 Reply Last reply Reply Quote 0
                  • M Offline
                    mimecar
                    last edited by 1 May 2017, 18:30

                    It is easier to work on the document because it can be edited. I give you the access details by private.

                    1 Reply Last reply Reply Quote 0
                    • M Offline
                      mimecar
                      last edited by 26 Jun 2017, 19:04

                      Good afternoon.

                      These last two months have been a little chaotic and I have not been able to devote time to the course. If I have no problems, I will publish two chapters at the end of the week.

                      1 Reply Last reply Reply Quote 6
                      • M Offline
                        mimecar
                        last edited by mimecar 7 Jan 2017, 18:43 1 Jul 2017, 18:43

                        I comment you the state of the chapter:

                        • The source code is now complete. You can check it at GitHub
                        • The calculator after the end of the chapter has the following appearance
                          0_1498934608590_05_button_size.png

                        I have to review the text and edit the chapter. I'll let you know when I have it published. I do not know if it will give me time to finish it this weekend.

                        PD: I have published the source code that generates the book. It is also in GitHub (Book)

                        1 Reply Last reply Reply Quote 4
                        • M Offline
                          mimecar
                          last edited by 9 Jul 2017, 17:00

                          Good evening.

                          I have already published the next course chapter:

                          • Organizing components
                          • The Row Layout
                          • Grid Layout
                          • The Button
                          • Color Settings
                          • Changing the Button Size

                          You can read it on the course website

                          1 Reply Last reply Reply Quote 6
                          • D Offline
                            doniks
                            last edited by 10 Jul 2017, 09:52

                            Very nice, thank you!

                            While scanning through it, I see lot's of replicated code in the last example with the Buttons. Isn't there a way to make something like a CalcButton, which has all the common properties (sizes, color) and can be reused. I don't actually know what the syntax for this is (guess why I'm interested in a UT programming course 😛 ), but I expect that this is possible and would be a nice rounding up of the chapter.

                            1 Reply Last reply Reply Quote 0
                            • M Offline
                              mimecar
                              last edited by 10 Jul 2017, 14:55

                              Hi @doniks,

                              You're right, but the code may still get worse. In a calculator there are buttons that have two or three functions. So far you have seen the buttons of the basic calculator but there is also a scientific calculator.

                              In one of the future chapters (it is written in Spanish and I have not yet translated it), a custom component is created that contains the button and the extra functions. You can see an example between the current design and the future.

                              Design comparative

                              Both versions use QML. Just change the design. If you have any questions related to the chapters that are published do not hesitate to ask.

                              1 Reply Last reply Reply Quote 1
                              • T Offline
                                TischlerWilly
                                last edited by 10 Jul 2017, 19:20

                                Great that you write this tutorial for us 🙂

                                I have follow the instructions to install the SDK.
                                So far so good.
                                but i can not install the developer kitÅ›.
                                I get every time the following error message:

                                Creating image with: framework: ubuntu-sdk-15.04 arch: amd64
                                error: No storage pool found. Please create a new storage pool.
                                ---Task exited with errors, please check the output---

                                Why it can not find the pool? Have I forgot something?
                                System is up to date.
                                Ubuntu SDK IDE is installed.
                                PPA is added.
                                Iḿ in the usergroup lxd.
                                PC is restarted

                                Pulsar33P 1 Reply Last reply 3 Apr 2018, 23:14 Reply Quote 0
                                • M Offline
                                  mimecar
                                  last edited by 10 Jul 2017, 19:23

                                  @TischlerWilly said in Ubuntu Touch Programming Course:

                                  error: No storage pool found. Please create a new storage pool

                                  What version of Ubuntu are you using?

                                  1 Reply Last reply Reply Quote 0
                                  • T Offline
                                    TischlerWilly
                                    last edited by TischlerWilly 7 Oct 2017, 19:27 10 Jul 2017, 19:24

                                    Linux Mint 18 Cinnamon 64-bit

                                    Have I to use the Ubuntu Gnome Desktop?

                                    M 1 Reply Last reply 10 Jul 2017, 19:29 Reply Quote 0
                                    • M Offline
                                      mimecar @TischlerWilly
                                      last edited by 10 Jul 2017, 19:29

                                      @TischlerWilly,

                                      It may be a particular Linux Mint bug. This weekend I can create a virtual machine and check if I can replicate the bug. The course I'm programming in Ubuntu 16.04 with the Mate desktop (although it should work with any desktop).

                                      1 Reply Last reply Reply Quote 0
                                      • M Offline
                                        mimecar
                                        last edited by 17 Sept 2017, 16:13

                                        Hi guys.

                                        At the end of the week I'll be uploading the resources I used at Ubucon Paris 2017. The virtual machine uses Ubuntu Mate 16.04 and has the SDK ready to work. Just download the file, configure VirtualBox and start programming applications.

                                        The link to the presentation is temporary, when I publish it I will update the link.
                                        https://drive.google.com/open?id=0B1tk1v5ejGZzY2VKWWh0cWhHTVk

                                        I hope at the end of the month to upload the translations of several course sessions. My intention is to match the Spanish and English versions before continuing with the new content.

                                        1 Reply Last reply Reply Quote 2
                                        • M Offline
                                          mimecar
                                          last edited by mimecar 10 Feb 2017, 17:08 23 Sept 2017, 12:01

                                          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.

                                          The credentials are:

                                          • User: ubucon
                                          • Password: ubucon

                                          Links are public. I would ask you to download the resources using the short link because that way I can have some statistics.

                                          • VirtualBox machine (13 GB)
                                          • Workshop presentation

                                          It is possible, in the future, to add new elements to the virtual machine. It all depends on the suggestions you make. If you have any problems with the file you can indicate it in this thread.

                                          I hope to publish new translations of the course next week. When the English and Spanish versions are ready, I will create new content.for both.

                                          W tatonutaT 2 Replies Last reply 2 Oct 2017, 17:04 Reply Quote 5
                                          • BastosB Offline
                                            Bastos
                                            last edited by 23 Sept 2017, 19:54

                                            Great. Thank you. I am nota developer but afiu now we are able to use the SDK again. I will give it a try anyway.

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