Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. A right set of packages in SDK for Android apps
Forum Updated to NodeBB v4.3 + New Features

A right set of packages in SDK for Android apps

Scheduled Pinned Locked Moved Solved Mobile and Embedded
7 Posts 2 Posters 717 Views 2 Watching
  • 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
    T Offline
    tomy
    wrote on 25 Apr 2019, 21:12 last edited by tomy
    #1

    Hi all,

    I'd like to have the SDK packages which are needed to cover recent of earlier versions of devices running Android for apps.
    When in the Android Build SDK we, for instance, select android-28 for something, that to me means Qt Creator uses that specific package in the SDK to build the app, and we can't apply all packages all in an app each time.

    And if the latest API, say 28, will cover the prior APIs too, hence the app created by api 28 will be working properly on that and also devices running previous APIs.
    Therefore, why not just having the latest one? Disagree? Why, please?

    If you agree, so I must delete many items in my SDK below. Right?

    0_1556226753255_1.PNG

    R 1 Reply Last reply 26 Apr 2019, 09:11
    0
    • T tomy
      25 Apr 2019, 21:12

      Hi all,

      I'd like to have the SDK packages which are needed to cover recent of earlier versions of devices running Android for apps.
      When in the Android Build SDK we, for instance, select android-28 for something, that to me means Qt Creator uses that specific package in the SDK to build the app, and we can't apply all packages all in an app each time.

      And if the latest API, say 28, will cover the prior APIs too, hence the app created by api 28 will be working properly on that and also devices running previous APIs.
      Therefore, why not just having the latest one? Disagree? Why, please?

      If you agree, so I must delete many items in my SDK below. Right?

      0_1556226753255_1.PNG

      R Offline
      R Offline
      raven-worx
      Moderators
      wrote on 26 Apr 2019, 09:11 last edited by raven-worx
      #2

      @tomy said in A right set of packages in SDK for Android apps:

      And if the latest API, say 28, will cover the prior APIs too, hence the app created by api 28 will be working properly on that and also devices running previous APIs.
      Therefore, why not just having the latest one? Disagree? Why, please?
      If you agree, so I must delete many items in my SDK below. Right?

      yes, basically its enough to always build against the lastest API level. No matter if you run on a lower API level device in the end. Note Qt's minimum API level.
      This is pretty straight forward if you do not do some JAVA coding. If you want to ensure that certain android features also work on older devices you then should use the support libraries. (But forget about those if you do not code natively).

      --- SUPPORT REQUESTS VIA CHAT WILL BE IGNORED ---
      If you have a question please use the forum so others can benefit from the solution in the future

      T 1 Reply Last reply 26 Apr 2019, 09:49
      3
      • R raven-worx
        26 Apr 2019, 09:11

        @tomy said in A right set of packages in SDK for Android apps:

        And if the latest API, say 28, will cover the prior APIs too, hence the app created by api 28 will be working properly on that and also devices running previous APIs.
        Therefore, why not just having the latest one? Disagree? Why, please?
        If you agree, so I must delete many items in my SDK below. Right?

        yes, basically its enough to always build against the lastest API level. No matter if you run on a lower API level device in the end. Note Qt's minimum API level.
        This is pretty straight forward if you do not do some JAVA coding. If you want to ensure that certain android features also work on older devices you then should use the support libraries. (But forget about those if you do not code natively).

        T Offline
        T Offline
        tomy
        wrote on 26 Apr 2019, 09:49 last edited by
        #3

        @raven-worx

        Note Qt's minimum API level.

        I always select the latest possible one, for instance, for Qt 5.12.3 which is the one I'm using now, I slecet 5.12 there.

        This is pretty straight forward if you do not do some JAVA coding.

        I use QML which is in relation to JavaScript, C++, and OpenGL. I don't think using QML I may have to deal with Java. Will I have to, in this case?

        If you want to ensure that certain android features also work on older devices you then should use the support libraries. (But forget about those if you do not code natively).

        I couldn't understand it thoroughly I suppose. Will you delve into it a little more.

        One more question about my SDK list removal items:
        Within APIs, I ought to keep only those two items of level 28, which are: SDK Platform, and Sources for Android SDK, and remove the rest. But how about the items of Tools and Extras categories? Should I simply keep what is shown in the screenshot, or must I add or remove some items?

        R 1 Reply Last reply 26 Apr 2019, 10:03
        0
        • T tomy
          26 Apr 2019, 09:49

          @raven-worx

          Note Qt's minimum API level.

          I always select the latest possible one, for instance, for Qt 5.12.3 which is the one I'm using now, I slecet 5.12 there.

          This is pretty straight forward if you do not do some JAVA coding.

          I use QML which is in relation to JavaScript, C++, and OpenGL. I don't think using QML I may have to deal with Java. Will I have to, in this case?

          If you want to ensure that certain android features also work on older devices you then should use the support libraries. (But forget about those if you do not code natively).

          I couldn't understand it thoroughly I suppose. Will you delve into it a little more.

          One more question about my SDK list removal items:
          Within APIs, I ought to keep only those two items of level 28, which are: SDK Platform, and Sources for Android SDK, and remove the rest. But how about the items of Tools and Extras categories? Should I simply keep what is shown in the screenshot, or must I add or remove some items?

          R Offline
          R Offline
          raven-worx
          Moderators
          wrote on 26 Apr 2019, 10:03 last edited by
          #4

          @tomy said in A right set of packages in SDK for Android apps:

          I use QML which is in relation to JavaScript, C++, and OpenGL. I don't think using QML I may have to deal with Java. Will I have to, in this case?

          Since you do not write a single line of Java code no ;)

          I couldn't understand it thoroughly I suppose. Will you delve into it a little more.

          as i said, don't mind about it, when you do not code directly with Java API. If you only use Qt API you are fine.

          Within APIs, I ought to keep only those two items of level 28, which are: SDK Platform, and Sources for Android SDK, and remove the rest. But how about the items of Tools and Extras categories? Should I simply keep what is shown in the screenshot, or must I add or remove some items?

          no need for the sources (they just take up storage space).
          Leave Tools & Extras as they are.

          --- SUPPORT REQUESTS VIA CHAT WILL BE IGNORED ---
          If you have a question please use the forum so others can benefit from the solution in the future

          T 1 Reply Last reply 26 Apr 2019, 10:23
          2
          • R raven-worx
            26 Apr 2019, 10:03

            @tomy said in A right set of packages in SDK for Android apps:

            I use QML which is in relation to JavaScript, C++, and OpenGL. I don't think using QML I may have to deal with Java. Will I have to, in this case?

            Since you do not write a single line of Java code no ;)

            I couldn't understand it thoroughly I suppose. Will you delve into it a little more.

            as i said, don't mind about it, when you do not code directly with Java API. If you only use Qt API you are fine.

            Within APIs, I ought to keep only those two items of level 28, which are: SDK Platform, and Sources for Android SDK, and remove the rest. But how about the items of Tools and Extras categories? Should I simply keep what is shown in the screenshot, or must I add or remove some items?

            no need for the sources (they just take up storage space).
            Leave Tools & Extras as they are.

            T Offline
            T Offline
            tomy
            wrote on 26 Apr 2019, 10:23 last edited by
            #5

            @raven-worx
            Thanks so much.

            So I shall remove all items inside the red outline in the screenshot below, right?

            0_1556274201823_1.PNG

            1 Reply Last reply
            0
            • T Offline
              T Offline
              tomy
              wrote on 26 Apr 2019, 20:12 last edited by
              #6

              I'm still waiting for the last response. :)

              So I shall remove all items inside the red outline in the screenshot below, right?

              Right, please?

              R 1 Reply Last reply 26 Apr 2019, 22:50
              0
              • T tomy
                26 Apr 2019, 20:12

                I'm still waiting for the last response. :)

                So I shall remove all items inside the red outline in the screenshot below, right?

                Right, please?

                R Offline
                R Offline
                raven-worx
                Moderators
                wrote on 26 Apr 2019, 22:50 last edited by
                #7

                @tomy
                yes you can

                --- SUPPORT REQUESTS VIA CHAT WILL BE IGNORED ---
                If you have a question please use the forum so others can benefit from the solution in the future

                1 Reply Last reply
                0

                7/7

                26 Apr 2019, 22:50

                • Login

                • Login or register to search.
                7 out of 7
                • First post
                  7/7
                  Last post
                0
                • Categories
                • Recent
                • Tags
                • Popular
                • Users
                • Groups
                • Search
                • Get Qt Extensions
                • Unsolved