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

    C++ and SDL with Clickable. A little help please.

    Scheduled Pinned Locked Moved App Development
    linkc++appsdl2sdl
    32 Posts 10 Posters 13.9k Views 6 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.
    • CraigC Offline
      Craig
      last edited by

      I got my C++/SDL2 program working via clickable on Ubuntu Touch. I got frustrated and put the project aside for several months, but I got back at it a few days ago. I used this demo to start with:
      https://gitlab.com/zub2/SDLDemo
      I'm not using the SDL2pp wrapper, just the regular SDL2 libraries. I have images, fonts, touchscreen and audio mixer working good.

      The only problem I need to fix before I can publish it is my app wont seem to run completely full screen. How do I get rid of the Top Bar? The one with the clock and battery icon, etc. It's covering the top of my app window.

      CiberSheepC 1 Reply Last reply Reply Quote 1
      • CiberSheepC Offline
        CiberSheep @Craig
        last edited by

        @Craig we suggest not to run apps in full mode as a general rule.

        You can accomplish that adding --fullscreen if you are using qmlscene or for cpp look into this code might be helpful

        Another planet, another time, another universe!

        1 Reply Last reply Reply Quote 0
        • CraigC Offline
          Craig
          last edited by

          Thank you everyone for your help. I finally figured it out and published my app.
          https://open-store.io/app/cubechron.craig

          mymikeM lduboeufL 2 Replies Last reply Reply Quote 0
          • mymikeM Offline
            mymike @Craig
            last edited by

            @Craig Super, do you mind adding the link to sources in the OpenStore?

            CraigC 1 Reply Last reply Reply Quote 0
            • lduboeufL Offline
              lduboeuf @Craig
              last edited by

              @Craig Congratulation :). But the app crash on my N5 at startup ( devel ).

              Got some shm_open failed. Permission denied

              CraigC 1 Reply Last reply Reply Quote 0
              • CraigC Offline
                Craig @lduboeuf
                last edited by

                @lduboeuf I have a Nexus 4, 5 and 7. It's working on all three of mine.

                lduboeufL 1 Reply Last reply Reply Quote 0
                • lduboeufL Offline
                  lduboeuf @Craig
                  last edited by

                  @Craig, on my N5 devel (last todays image) I have even a unity8 restart when lauching from the openstore

                  CraigC 1 Reply Last reply Reply Quote 0
                  • CraigC Offline
                    Craig @lduboeuf
                    last edited by

                    @lduboeuf I reinstalled UT on my Nexus 5 (hammerhead) just now. I went to the Open Store and installed Cube Chron. The app is working. Sorry, I don't know what could be causing the problem you are experiencing. It's also working on my Nexus 4 and 7.

                    1 Reply Last reply Reply Quote 0
                    • CraigC Offline
                      Craig @mymike
                      last edited by

                      @mymike Trying to figure that out. I don't have a github account.

                      1 Reply Last reply Reply Quote 0
                      • poVoqP Offline
                        poVoq
                        last edited by

                        @Craig Maybe you could help out here:
                        https://gitlab.com/clickable/clickable/issues/122

                        Fairphone 5 (Not yet installed UT on it though)

                        1 Reply Last reply Reply Quote 0

                        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                        With your input, this post could be even better 💗

                        Register Login
                        • First post
                          Last post