E eladroz Member Licensed User Longtime User Nov 15, 2017 #1 Hello, Please see attached screen to the error I am getting after upgrading to version 7.00. Please help me... Thank you, Elad. Attachments Basic4Android new version.PNG 15.6 KB · Views: 137
Hello, Please see attached screen to the error I am getting after upgrading to version 7.00. Please help me... Thank you, Elad.
NJDude Expert Licensed User Longtime User Nov 15, 2017 #2 You have to use the okHttp library. Upvote 0
E eladroz Member Licensed User Longtime User Nov 15, 2017 #3 Thank you for your answer but after changing to the okHttp library I can't use Response.GetString("UTF8") anymore in the ResponseSuccess event... Upvote 0
Thank you for your answer but after changing to the okHttp library I can't use Response.GetString("UTF8") anymore in the ResponseSuccess event...
NJDude Expert Licensed User Longtime User Nov 15, 2017 #4 Response.GetString("UTF8") has been deprecated for a very long time now, you should update your code. Upvote 0
Response.GetString("UTF8") has been deprecated for a very long time now, you should update your code.
Erel B4X founder Staff member Licensed User Longtime User Nov 16, 2017 #5 eladroz said: Please see attached screen to the error I am getting after upgrading to version 7.00. Click to expand... Note that the error you get is not related to B4A v7.00. It is related to the removal of HttpClient from android.jar. You can use an older version of Android.jar (before 23) and it will work. The best solution is to switch to OkHttpUtils2. Upvote 0
eladroz said: Please see attached screen to the error I am getting after upgrading to version 7.00. Click to expand... Note that the error you get is not related to B4A v7.00. It is related to the removal of HttpClient from android.jar. You can use an older version of Android.jar (before 23) and it will work. The best solution is to switch to OkHttpUtils2.