Qt Forum

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

    Qt Academy Launch in California!

    Unsolved Android Services in Qt Quick

    QML and Qt Quick
    3
    5
    807
    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.
    • P
      Peps last edited by

      Anyway to create and use an Android Service without touching C++?

      raven-worx E 2 Replies Last reply Reply Quote 0
      • raven-worx
        raven-worx Moderators @Peps last edited by

        @Peps
        doesn't make much sense to use a GUI declaration language to define a service running in the background.
        Why do you want to do that?

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

        P 1 Reply Last reply Reply Quote 1
        • E
          Eeli K @Peps last edited by

          @Peps said in Android Services in Qt Quick:

          Anyway to create and use an Android Service without touching C++?

          Yes - use Android's own Java.

          1 Reply Last reply Reply Quote 0
          • P
            Peps @raven-worx last edited by

            @raven-worx Why I would want to do that, includes an app where I would want to periodically check the server for data updates (without the app being opened by the user)... other examples include messaging apps, news/magazine apps, should I go on? Be it GUI declarative or not.. so essentially there isn't a single way to do any background work whilst the app has been minimized on the user's mobile device?

            raven-worx 1 Reply Last reply Reply Quote 0
            • raven-worx
              raven-worx Moderators @Peps last edited by raven-worx

              @Peps
              everything correct.
              But it doesn't make sense to use a UI declaration language for "headless" code.
              You anyway have to create a separate entry in the manifest file. So anyway another "base" implementation. So i wouldn't try to add another level of complexity here.

              --- 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 Reply Quote 0
              • First post
                Last post