™AsAs4242 Member Licensed User Longtime User Jun 2, 2016 #1 Hi i want to release and close runnig http job(HttpUtils2) In Activiy_Pause B4X: Sub Activity_Pause (UserClosed As Boolean) HTTP_Info.Release End Sub This code should close running Job when the activity paused ! But after leaving the activity,When job completed back to activity (No ProgressBar And Not Use Service for result )
Hi i want to release and close runnig http job(HttpUtils2) In Activiy_Pause B4X: Sub Activity_Pause (UserClosed As Boolean) HTTP_Info.Release End Sub This code should close running Job when the activity paused ! But after leaving the activity,When job completed back to activity (No ProgressBar And Not Use Service for result )
Erel B4X founder Staff member Licensed User Longtime User Jun 2, 2016 #2 You should move the code to a service. Upvote 0