Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Qt Android and MediaBrowser Service
eighttails last edited by
I'm making a music player for android with Qt 5.7.
It needs to play in background and should not killed automatically.
According to this blog, I have to make Service that inherits QtService and I did that.
Currently it's working.
Next, I want to make it controllable from BT remote and Android wear watch.
According to this tutorial, I have to make Service that inherits MediaBrowserServiceCompat to do that.
In Java language we cannot create class with multiple inheritance.
How should I implement service in this case?
My project is here.(Unfortunately it is Japanese)
Is there any good practice?
vlada last edited by
I've just run into the same problem. Have you found any solution for it?