Android Question Httputils is reopening the activity after the user close it

Devv

Active Member
Licensed User
Longtime User
when i download something with Httputils and then i move to another activity in my app (before the job is done), the job activity will automatically reopen when the job is done, how can i disable this feature ?
 

DonManfred

Expert
Licensed User
Longtime User
how can i disable this feature ?
Use a class module or a service to handle all the httputils jobs inside this class. You then can return the result to the right activity (if it still is open)
 
Upvote 0

DonManfred

Expert
Licensed User
Longtime User
you mean like the starter service ?
I´m not sure if this is the right place. But could be! Havent tried it as yet...

I know it is working in a Class module (see my Dropbox V2 HTTP Class; it is working like this) and in a Service it would work too
 
Upvote 0
Top