J junaidahmed Well-Known Member Licensed User Longtime User Feb 24, 2017 #1 I have upgrade Basic4 Android from 2.30 to 6.50 Version.I have developed application using "HttpClient" Library to fetch data from server.It was working fine 5 years ago but When I compile the same code in new version,its shows an error message.Please check attached file and advise how to do that.... Attachments Android.jpg 299.3 KB · Views: 708
I have upgrade Basic4 Android from 2.30 to 6.50 Version.I have developed application using "HttpClient" Library to fetch data from server.It was working fine 5 years ago but When I compile the same code in new version,its shows an error message.Please check attached file and advise how to do that....
derez Expert Licensed User Longtime User Feb 24, 2017 #2 Use okHTTP library instead of HTTP, okHTTPclient etc. Upvote 0
J junaidahmed Well-Known Member Licensed User Longtime User Feb 24, 2017 #3 so I Need to change my code ??? Upvote 0
eps Expert Licensed User Longtime User Feb 24, 2017 #4 Yes : https://www.b4x.com/android/forum/threads/okhttp-replaces-the-http-library.54723/ Upvote 0
Erel B4X founder Staff member Licensed User Longtime User Feb 26, 2017 #5 junaidahmed said: so I Need to change my code ??? Click to expand... Assuming that you are using HttpUtils2 then no. Just switch to OkHttpUtils2. Upvote 0
junaidahmed said: so I Need to change my code ??? Click to expand... Assuming that you are using HttpUtils2 then no. Just switch to OkHttpUtils2.