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. how to create Android foreground service using Qt?
Forum Updated to NodeBB v4.3 + New Features

how to create Android foreground service using Qt?

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
3 Posts 2 Posters 590 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.
  • R Offline
    R Offline
    RAJEESHR
    wrote on last edited by
    #1

    Hi,

    I developed a qt application to run in android. which have a service running in
    background to serve my application purpose even if user currently interacting
    with other apps in foreground. It was working perfectly, since android Orio
    launched. Since Android Orio, background service will be terminated if its
    associated app no more active at foreground. Android documentation says,
    if we want to run a service always it should be a foreground service(service with
    a notification which always resides in the notification area). Can anyone help
    me how can I create a foreground service for Android in Qt. I searched in
    documentation for Qt for Android. But I didn't get any help.

    Any help appreciated.

    Thanks in advance,
    RAJ

    1 Reply Last reply
    2
    • strahlexS Offline
      strahlexS Offline
      strahlex
      wrote on last edited by
      #2

      @RAJEESHR Did you find a solution?

      Feel free to check out my website machinekoder.com
      and my pet projects Intellicute and QtQuickVcp

      R 1 Reply Last reply
      0
      • strahlexS strahlex

        @RAJEESHR Did you find a solution?

        R Offline
        R Offline
        RAJEESHR
        wrote on last edited by
        #3

        @strahlex Hey sorry for the very late reply. I have moved the logic to device, so that No longer needed a service to run on my phone

        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