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

Android Service in same .so file. Qt 5.10+



  • Hello,
    according to this tutorial, I've created a android service in a separate .so file. With the updated version, everything works like a charm with Qt 5.10.1.

    But the service does not get started if I try to use the same .so file approach. Does anybody have hints on that?
    My main.cpp of course inherits QCoreApplication because its the main application. Is it necessary that the class inherits from QtService for properly using android services? If so, how can I implement this?

    I try to use the Android PowerManager to keep the cpu on for a long time, to prevent the app standby.

    Regards,
    Wowalive


Log in to reply