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. Running an Android application in background without any GUI
QtWS25 Last Chance

Running an Android application in background without any GUI

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
andriodndkservicec++
3 Posts 3 Posters 1.5k Views
  • 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.
  • O Offline
    O Offline
    ouscn
    wrote on last edited by
    #1

    I have a project running on Android using NDK. Is it at all possible to make this application run in the background without any interface.

    As it stands it is a stand-alone application with basic debugging interface and I want to convert it to a some kind of background service to another app.
    Also is it possible to enable this application to open from another application?

    KroMignonK 1 Reply Last reply
    0
    • O ouscn

      I have a project running on Android using NDK. Is it at all possible to make this application run in the background without any interface.

      As it stands it is a stand-alone application with basic debugging interface and I want to convert it to a some kind of background service to another app.
      Also is it possible to enable this application to open from another application?

      KroMignonK Offline
      KroMignonK Offline
      KroMignon
      wrote on last edited by
      #2

      @ouscn said in Running an Android application in background without any GUI:

      s it at all possible to make this application run in the background without any interface.

      This is called a service!
      And yes it is possible ==> https://doc.qt.io/qt-5/android-services.html

      It is an old maxim of mine that when you have excluded the impossible, whatever remains, however improbable, must be the truth. (Sherlock Holmes)

      1 Reply Last reply
      6
      • T Offline
        T Offline
        tomaslov
        wrote on last edited by
        #3

        Please note https://bugreports.qt.io/browse/QTBUG-76411, as Android 8 and later have quite a few new restrictions to background services.

        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