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

I made a Quick start guide on how to make Python apps.

Scheduled Pinned Locked Moved App Development
15 Posts 9 Posters 1.5k 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.
    • A Offline
      aarontheissueguy
      last edited by aarontheissueguy 10 Feb 2021, 14:42

      Disclaimer: This guide is not designed to work with Focal!

      Hey I recently started development for UbPorts and it felt quite overwhelming to get started. For this reason I decided to create a short guide for beginners who want to get started with development. I gathered many Useful resources and I hope it helps someone. I cannot promise that it is perfect though.

      You can find it on aaron.place (currently down! Use https://web.archive.org/web/20220515161326/https://aaron.place/blogs/UbPortsPython.html intead.)

      L H D 3 Replies Last reply 10 Feb 2021, 14:58 Reply Quote 13
      • L Offline
        libremax @aarontheissueguy
        last edited by libremax 2 Oct 2021, 14:59 10 Feb 2021, 14:58

        @aarontheissueguy
        Two remarks:
        In your text, replace UbPorts by UBports
        and Ubuntu Touch apps would be more accurate than "UbPorts apps"

        Otherwise, congrats for your contribution

        Donate anonymously 1€/$ by year to UBports, all Ubuntu Touch users can do it ! Demonstration:
        https://forums.ubports.com/topic/1262/donate-anonymously-1-by-year-to-ubports-all-ubuntu-touch-users-can-do-it-demonstration/

        A 1 Reply Last reply 10 Feb 2021, 15:12 Reply Quote 1
        • A Offline
          aarontheissueguy @libremax
          last edited by 10 Feb 2021, 15:12

          @libremax Will correct Asap.

          1 Reply Last reply Reply Quote 0
          • L Offline
            Lakotaubp
            last edited by 10 Feb 2021, 15:17

            @aarontheissueguy Good stuff thanks for taking the time to do it. If you just make the changes @libremax suggested and as your doc is in English probably best to link to the English version of the ssh part of UBports docs rather than German(?) and development not developement you should be set. Thanks again for your time and effort.

            A 1 Reply Last reply 10 Feb 2021, 15:24 Reply Quote -1
            • A Offline
              aarontheissueguy @Lakotaubp
              last edited by 10 Feb 2021, 15:24

              @lakotaubp oh my bad. Im a native German πŸ™‚ Thx for the feedback

              1 Reply Last reply Reply Quote 0
              • H Offline
                h_b @aarontheissueguy
                last edited by 11 Feb 2021, 13:18

                @aarontheissueguy great, thatll probably help me too to get into it πŸ™‚

                1 Reply Last reply Reply Quote 0
                • R Offline
                  RandomUser
                  last edited by 11 Feb 2021, 13:35

                  • Typo: knwoledge -> knowledge (2x times)
                  • Inconsistency: sometimes apt, sometimes apt-get
                  • Combine all dependencies in one apt(-get) command so it can be copy/pasted at once
                  • Mark the Atom section as "Optional"
                  • String concatenation is bad Python practice, use string formatting (atleast str.format() or f-strings)

                  Nice work though! This should get people started and perhaps the article can get extended further.

                  A 1 Reply Last reply 11 Feb 2021, 13:39 Reply Quote 0
                  • A Offline
                    aarontheissueguy @RandomUser
                    last edited by 11 Feb 2021, 13:39

                    @randomuser Thx for the feedback. Will correct asap.:beaming_face_with_smiling_eyes:

                    1 Reply Last reply Reply Quote 0
                    • S Offline
                      sanath.usk 0
                      last edited by sanath.usk 0 2 Nov 2021, 14:30 11 Feb 2021, 14:30

                      @aarontheissueguy Wonderful stuff.Thank you for your contribution. Do you mind if we add extracts from your article to the UBports docs at https://docs.ubports.com/en/latest/appdev/index.html#getting-started ?

                      A 1 Reply Last reply 11 Feb 2021, 16:15 Reply Quote 0
                      • A Offline
                        aarontheissueguy @sanath.usk 0
                        last edited by 11 Feb 2021, 16:15

                        @sanath-usk-0 Feel free to take whatever you want out of the article and distribute it to your needs.

                        S 1 Reply Last reply 12 Feb 2021, 11:56 Reply Quote 0
                        • S Offline
                          sanath.usk 0 @aarontheissueguy
                          last edited by 12 Feb 2021, 11:56

                          @aarontheissueguy Thanks πŸ™‚

                          1 Reply Last reply Reply Quote 0
                          • D Offline
                            developerbayman @aarontheissueguy
                            last edited by 28 Jan 2023, 12:26

                            @aarontheissueguy your link is down?? ....i could really use this as im having trouble loading my python script into clickable

                            where im at currently my process:
                            clickable create >select python>fill in crap>clickable project directory> ......this is where im lost replace example.py with my code.py? then clickable run >see logs??>slam head on table> ......please kind sir may i have some more>replace qml references from example to {mycode} >clickable run>see logs>slam head on table........please help

                            A 1 Reply Last reply 16 Feb 2023, 17:21 Reply Quote 0
                            • A Offline
                              aarontheissueguy @developerbayman
                              last edited by 16 Feb 2023, 17:21

                              @developerbayman Sorry for the late response. My site is currently down to reduce server cost (Inflation hits us all). Here is the guide: https://web.archive.org/web/20220515161326/https://aaron.place/blogs/UbPortsPython.html

                              A 1 Reply Last reply 16 Feb 2023, 17:28 Reply Quote 1
                              • A Offline
                                arubislander @aarontheissueguy
                                last edited by 16 Feb 2023, 17:28

                                @aarontheissueguy Bear in mind that this how-to might contain some steps that are no longer necessary. Installing Qt 5 for instance is not needed. Clickable downloads the requisite container images with everything installed necessary for the tutorial.

                                πŸ‡¦πŸ‡Ό πŸ‡³πŸ‡± πŸ‡ΊπŸ‡Έ πŸ‡ͺπŸ‡Έ
                                Happily running Ubuntu Touch
                                Google Pixel 3a (20.04 DEV)
                                JingPad (24.04 preview)
                                Meizu Pro 5 (16.04 DEV)

                                1 Reply Last reply Reply Quote 1
                                • L Offline
                                  L-00959
                                  last edited by 4 Mar 2023, 02:47

                                  This post is deleted!
                                  1 Reply Last reply Reply Quote 0
                                  • First post
                                    Last post