I have a service that does some heavy work on a background thread. It basically downloads a large zip (>5MB), stores it, unzips it, parses the XML and stores the information in a SQLite database.
While the service is doing its job, I sometimes have to run a quick background task (like logging in the user). However, since the service is very busy (usually extracting the zip file), my short task takes a while to run (and the user has to wait).
Is there a way I could completely pause my service (and it's background AsyncTask) so I can run my new higher-priority task?
Thanks!