Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. Android Services in Qt Quick
Forum Updated to NodeBB v4.3 + New Features

Android Services in Qt Quick

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
5 Posts 3 Posters 1.2k Views 1 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.
  • P Offline
    P Offline
    Peps
    wrote on last edited by
    #1

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

    raven-worxR E 2 Replies Last reply
    0
    • P Peps

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

      raven-worxR Offline
      raven-worxR Offline
      raven-worx
      Moderators
      wrote on last edited by
      #2

      @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
      1
      • P Peps

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

        E Offline
        E Offline
        Eeli K
        wrote on last edited by
        #3

        @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
        0
        • raven-worxR raven-worx

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

          P Offline
          P Offline
          Peps
          wrote on last edited by
          #4

          @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-worxR 1 Reply Last reply
          0
          • P Peps

            @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-worxR Offline
            raven-worxR Offline
            raven-worx
            Moderators
            wrote on last edited by raven-worx
            #5

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

            • Login

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