Discussion:
android:process
(too old to reply)
Filip Piechocki
2018-11-28 10:46:48 UTC
Permalink
Hi,
"Android Services" page in Qt docs
Make sure the service tag contains an android:process=":some_name" attribute. It is needed to force the service to run in a separate process than the activity.
and KDAB's tutorial on Android Services with Qt
(https://www.kdab.com/qt-android-create-android-service-using-qt/)
BE AWARE: Every single Qt service/activity MUST run in it’s own process! Therefore for each service you must set a different android:process attribute value.
But I could not find any information on why is that. My particular
use-case would be to actually put the service and activity (and
potentially even another app) in the very same android process. What
would be a result of this with Qt for Android?

Best Regards,
Filip

Continue reading on narkive:
Loading...