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

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 16 Oct 2020, 08:03 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?

    K 1 Reply Last reply 16 Oct 2020, 08:08
    0
    • O ouscn
      16 Oct 2020, 08:03

      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?

      K Offline
      K Offline
      KroMignon
      wrote on 16 Oct 2020, 08:08 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 21 Oct 2020, 16:54 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

        3/3

        21 Oct 2020, 16:54

        • Login

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