UBports Robot Logo

    UBports Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

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

    App Development
    9
    15
    798
    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
      aarontheissueguy last edited by aarontheissueguy

      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.)

      libremax H developerbayman 3 Replies Last reply Reply Quote 12
      • libremax
        libremax @aarontheissueguy last edited by libremax

        @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 Reply Quote 1
        • A
          aarontheissueguy @libremax last edited by

          @libremax Will correct Asap.

          1 Reply Last reply Reply Quote 0
          • Lakotaubp
            Lakotaubp last edited by

            @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 Reply Quote -1
            • A
              aarontheissueguy @Lakotaubp last edited by

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

              1 Reply Last reply Reply Quote 0
              • H
                h_b @aarontheissueguy last edited by

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

                1 Reply Last reply Reply Quote 0
                • R
                  RandomUser last edited by

                  • 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 Reply Quote 0
                  • A
                    aarontheissueguy @RandomUser last edited by

                    @randomuser Thx for the feedback. Will correct asap.😁

                    1 Reply Last reply Reply Quote 0
                    • S
                      sanath.usk 0 last edited by sanath.usk 0

                      @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 Reply Quote 0
                      • A
                        aarontheissueguy @sanath.usk 0 last edited by

                        @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 Reply Quote 0
                        • S
                          sanath.usk 0 @aarontheissueguy last edited by

                          @aarontheissueguy Thanks πŸ™‚

                          1 Reply Last reply Reply Quote 0
                          • developerbayman
                            developerbayman @aarontheissueguy last edited by

                            @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 Reply Quote 0
                            • A
                              aarontheissueguy @developerbayman last edited by

                              @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

                              arubislander 1 Reply Last reply Reply Quote 0
                              • arubislander
                                arubislander @aarontheissueguy last edited by

                                @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
                                BQ Aquaris M10 FHD (16.04 RC)
                                Google Pixel 3a (20.04 DEV)
                                JingPad (20.04 DEV)
                                Meizu Pro 5 (16.04 DEV)
                                PinePhone / PineTab UT CE (16.04 DEV)

                                1 Reply Last reply Reply Quote 1
                                • L
                                  L-00959 Banned last edited by

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