Unsolved Android service address space
-
Hi,
I am trying to integrate a background service for an Android app. I would like to have the activity run in the same address space and thread as the service. The Qt documentation states that services must run in different processes than the activity. I have a few questions on this:- What is the reason for this limitation?
- Can a service run in the same process as the Qt activity if it is implemented entirely in Java and not using Qt functions?
- If so, is it possible to force the service and activity to run in the same main thread?
Thanks a lot.
-
Hi,
AFAIK, that's a platform specific setup. You should check in Android's documentation for the constraints associated with applications and services.