F flent Member Licensed User Longtime User Mar 23, 2018 #1 I HAVE Dim webclient As OkHttpClient Dim webrequest As OkHttpRequest THEN Sub webClient_ResponseSuccess (resp As OkHttpResponse, TaskId As Int) xml = resp.GetString("UTF8") RELATED TO THE OLD Http LIBRARY. What is the equivalent instruction for OkHttp??? Many many thanks to solvers.
I HAVE Dim webclient As OkHttpClient Dim webrequest As OkHttpRequest THEN Sub webClient_ResponseSuccess (resp As OkHttpResponse, TaskId As Int) xml = resp.GetString("UTF8") RELATED TO THE OLD Http LIBRARY. What is the equivalent instruction for OkHttp??? Many many thanks to solvers.
Erel B4X founder Staff member Licensed User Longtime User Mar 25, 2018 #2 Moved to the questions forum. The above code is not good and will not work on Android 4+ devices. You should use OkHttpUtils2 like all B4X developers. Upvote 0
Moved to the questions forum. The above code is not good and will not work on Android 4+ devices. You should use OkHttpUtils2 like all B4X developers.