Android Question Handling delay in job execution

Juzer Hussain

Active Member
Licensed User
Longtime User
Hi,

I am facing issues due to poor internet connection .
Many a times job takes a while to complete.
In the meanwhile user clicks on different buttons which may call another job. Later when the jobs complete flow goes haywire and the user gets confused.

In job done we can check if the job has failed but if the net connection is poor we have no way but to wait.
Is there any good way to handle this so as to make user wait.

Pls give some clue.

Thanks
Juzer
 

AnandGupta

Expert
Licensed User
Longtime User
Clue:
  • use wait for job done
  • trap back key/button, show message wait..
  • check variable if not done, ignore button click
  • show progress bar so user knows what is going on
Regards,

Anand
 
Upvote 0

Juzer Hussain

Active Member
Licensed User
Longtime User
Hi Anand,
Thanks

I am using 2/3 options showing a Progress bar is not possible as there is no jobProgress or similar event.

Juzer
 
Upvote 0
Top