Eme Fibonacci Well-Known Member Licensed User Longtime User Nov 10, 2015 #1 How the "HttpJob" will behave if pause event is released? I have a HttpJob that will consume a webservice. What happens if the device receives a call while working? Thank you.
How the "HttpJob" will behave if pause event is released? I have a HttpJob that will consume a webservice. What happens if the device receives a call while working? Thank you.
Erel B4X founder Staff member Licensed User Longtime User Nov 10, 2015 #2 Eme Fibonacci said: What happens if the device receives a call while working? Click to expand... The event will be raised when the activity is resumed. HttpUtils2 uses CallSubDelayed to raise the event. See CallSubDelayed tutorial: https://www.b4x.com/android/forum/t...etween-activities-and-services.18691/#content In many cases it is better to use a service to handle the JobDone event. Upvote 0
Eme Fibonacci said: What happens if the device receives a call while working? Click to expand... The event will be raised when the activity is resumed. HttpUtils2 uses CallSubDelayed to raise the event. See CallSubDelayed tutorial: https://www.b4x.com/android/forum/t...etween-activities-and-services.18691/#content In many cases it is better to use a service to handle the JobDone event.