Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
How to create an Android foreground service for a Qt application?
codestation last edited by
Basically my app has no main GUI and it runs on the desktop as a background thead. I send simple messages to the user via popups using the system tray icon. While I can compile and run my app on Android, it shows an empty activity and the background thread gets killed once I leave the activity.
Is there a way to run my background thread as a foreground activity on android?
Is there a way to avoid the empty activity since I am not using qml or qwidgets? I managed to put a native android activity but the one created by Qt interferes with mine by hiding the action bar and blocking the back button.
dibet last edited by
hola,tengo el mismo problema y no he encontrado como resolver este problema, pido una ayudita.
Ganton last edited by
The information and the code that was attached to this "bug report" can be useful: