Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Start third-party Android Service
ibcsystems last edited by
I'm struggling to get a service started that is not part of my application.
All the examples I've seen are for a Qt service, but I like to start a java service from my Qt creator app.
In java you can use something like this:
Intent serviceIntent = new Intent();
What's the equivalent in Qt Creator C++?
btw, the service is exported and enabled in the manifest
There's no Qt Creator C++, Qt Creator is just an IDE.
You may want to take a look at the dedicated Qt JNI classes to call Java methods.
ibcsystems last edited by ibcsystems
I know it's an IDE but I'm programming in C++ and there does not seem to be an easy way of starting an external service; documentation and examples of JNI are not very comprehensive.
I would have thought someone has already done this and I'm not shooting for the moon here.