KMatle Expert Licensed User Longtime User Mar 16, 2021 #1 Maybe stupid but: I never cared about the message in the logs when you use OkHttpUtils but does it really create a service by code?
Maybe stupid but: I never cared about the message in the logs when you use OkHttpUtils but does it really create a service by code?
Erel B4X founder Staff member Licensed User Longtime User Mar 16, 2021 #2 Yes, not by code. It starts the HttpUtils2Service. This is required, especially in the pre-B4XPages era, in order to not be affected by the activity life cycle. Upvote 0
Yes, not by code. It starts the HttpUtils2Service. This is required, especially in the pre-B4XPages era, in order to not be affected by the activity life cycle.
KMatle Expert Licensed User Longtime User Mar 16, 2021 #3 Erel said: Yes, not by code. It starts the HttpUtils2Service. This is required, especially in the pre-B4XPages era, in order to not be affected by the activity life cycle. Click to expand... Is it an Android system service which is integrated in the OS or where does it come from? Upvote 0
Erel said: Yes, not by code. It starts the HttpUtils2Service. This is required, especially in the pre-B4XPages era, in order to not be affected by the activity life cycle. Click to expand... Is it an Android system service which is integrated in the OS or where does it come from?
Erel B4X founder Staff member Licensed User Longtime User Mar 16, 2021 #4 No. It is a regular service inside OkHttpUtils2 library (unzip the b4xlib and you will see it). Upvote 0