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

Android background service



  • Can someone show me an example on how to write a background Qt service for Android, and how to autostart the service at the mobile startup?



  • Has nobody a idea?

    Is this even possible to create using Qt?



  • I have spend 4-5 months on this question, But I guess there are no way.
    You can create native service but you need android source and libraries for compiling or load your app's so file from a service, but you have to modify qt's java layer code and android may be dispose your library for memory usage reason.
    You can create a java service and run your code in java layer.


Log in to reply