Hello, after performing several processes: updating the database, print, etc.. I call another activity to collect user data and then back.
The problem is that printing stops before finishing because the other activity without having finished making the current job opens.
I tried with startActivity ("other activity") and callsubdelayed ("other activity"), but does not work in any of the cases.
How I can control what have finished all the work, before calling another activity?