Shivito1 Active Member Licensed User May 22, 2017 #1 B4X: Dim teststring As String = js.connect(url) sometimes I get timeout. How can I loop it till it succeeds.
B4X: Dim teststring As String = js.connect(url) sometimes I get timeout. How can I loop it till it succeeds.
R ronell Well-Known Member Licensed User Longtime User May 23, 2017 #2 This doest explain the issue, Upvote 0
Erel B4X founder Staff member Licensed User Longtime User May 23, 2017 #3 Such code can never work. You need to use OkHttpUtils2 to download the string. It is very simple especially with the new Wait For feature: https://www.b4x.com/android/forum/threads/79345/#content Upvote 0
Such code can never work. You need to use OkHttpUtils2 to download the string. It is very simple especially with the new Wait For feature: https://www.b4x.com/android/forum/threads/79345/#content
Shivito1 Active Member Licensed User May 25, 2017 #4 Erel said: Such code can never work. You need to use OkHttpUtils2 to download the string. It is very simple especially with the new Wait For feature: https://www.b4x.com/android/forum/threads/79345/#content Click to expand... Thanks I figured it out Upvote 0
Erel said: Such code can never work. You need to use OkHttpUtils2 to download the string. It is very simple especially with the new Wait For feature: https://www.b4x.com/android/forum/threads/79345/#content Click to expand... Thanks I figured it out