Unsolved Qt Android and MediaBrowser Service
-
Hi,everyone
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.
https://www.kdab.com/qt-android-create-android-service-using-qt/
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.
https://developer.android.com/guide/topics/media-apps/audio-app/building-a-mediabrowserservice.html?hl=arIn 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)
https://github.com/eighttails/XMDXIs there any good practice?
-
I've just run into the same problem. Have you found any solution for it?