Star-Dust Expert Licensed User Longtime User Jan 28, 2022 #1 I would like to disable automatic redirection with jOkHttpUtils. For Android there is this method, but I need it in B4J (and also in b4i but I will ask it in the other forum) Last edited: Jan 28, 2022
I would like to disable automatic redirection with jOkHttpUtils. For Android there is this method, but I need it in B4J (and also in b4i but I will ask it in the other forum)
Erel B4X founder Staff member Licensed User Longtime User Jan 30, 2022 #2 The B4A code will work in B4J as well. Add this to the beginning: B4X: If HttpUtils2Service.hc.IsInitialized = False Then HttpUtils2Service.Service_Create End If Upvote 1
The B4A code will work in B4J as well. Add this to the beginning: B4X: If HttpUtils2Service.hc.IsInitialized = False Then HttpUtils2Service.Service_Create End If