Through private messages we have shared the test applications.
On Xfood devices they always work well.
Both in debug and release mode.
On my device, the same tests, with the same applications, in debug, in release: Some odd time it works fine (I mean HttpUtils2Service starts fast), but that happens once out of a hundred attempts.
Normally HttpUtils2Service takes 30 to 60 seconds to start (70% of the attempts), and the rest of the tests take several minutes, up to 5 minutes. Sometimes HttpUtils2Service never starts at all.
In my case I have even performed a factory reset at least a dozen times.
The tests have been done after a reset. After a power off/on. After waiting a while (at least one hour.). After several hours have passed.
I've been desperate for more than a week with this problem, I just had to throw the device out the window, but I've held back because I hope to find a solution.
I have also tested applications in "Activity" mode and "B4XPages" applications.
I think everything has been tried.
And on all XFood devices it always works fine.
On my device, in 99% of the attempts, it works always wrong.
So I think it's not a B4A problem, even not Android problem either, rather I think it must be some hardware or firmware problem, I don't know, I wish I knew.