Ju Yang Active Member Licensed User Longtime User Oct 19, 2015 #1 hi,i have tried the ihttputil2 class ,yet,it does work well.now , i want to get the result of download when i call the download sub like this Code: Copy sub .... job3.Initialize("Job3", Me) job3.Download("http://www.b4x.com/android/forum/data/avatars/m/0/1.jpg?1374051458") If job3.Success = True Then ImageView1.Bitmap = job3.GetBitmap end if could you give me some ideas about it ?
hi,i have tried the ihttputil2 class ,yet,it does work well.now , i want to get the result of download when i call the download sub like this Code: Copy sub .... job3.Initialize("Job3", Me) job3.Download("http://www.b4x.com/android/forum/data/avatars/m/0/1.jpg?1374051458") If job3.Success = True Then ImageView1.Bitmap = job3.GetBitmap end if could you give me some ideas about it ?
Erel B4X founder Staff member Licensed User Longtime User Oct 19, 2015 #2 You need to wait for the JobDone event. See this tutorial: https://www.b4x.com/android/forum/threads/18992/#content (it is about B4A HttpUtils2 which is exactly the same as iHttpUtils2). Upvote 0
You need to wait for the JobDone event. See this tutorial: https://www.b4x.com/android/forum/threads/18992/#content (it is about B4A HttpUtils2 which is exactly the same as iHttpUtils2).