Hello there
I am sending a request on save and after the save button has been pressed and validation has been checked I call a class which sends a HTTP request. After calling the class I finish the activity. Doing this though does not allow the job to be finished and I get a message "Object context is paused. Ignoring CallSubDelayed: JobDone". If I do not finish the activity then the request is made and the jobdone is run.. Should I run this in a service instead or is there another way of completing the jobdone and closing the activity?
Thank you for your help..
Derek.
I am sending a request on save and after the save button has been pressed and validation has been checked I call a class which sends a HTTP request. After calling the class I finish the activity. Doing this though does not allow the job to be finished and I get a message "Object context is paused. Ignoring CallSubDelayed: JobDone". If I do not finish the activity then the request is made and the jobdone is run.. Should I run this in a service instead or is there another way of completing the jobdone and closing the activity?
Thank you for your help..
Derek.