Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

how to create Android foreground service using Qt?



  • 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



  • @RAJEESHR Did you find a solution?


Log in to reply