IntentService works fine and asynchronously when I install my application for the first time (by calling "startService" from the launcher. "OnCreate ()" does not block the activity user interface). However, when I install it again on top of an existing installation, the launch activity user interface starts until the launched IntentService "onHandleIntent" finishes (even if I put "startActivity" in the "AsyncTask doInBackground" or "Handler"). What gives? I assume that the IntentService should always be asynchronous, but in such cases it is not. How can I guarantee that "onHandleIntent" always runs asynchronously and does not block the user interface of the Activity from which it was called? This may affect the application.when someone installs an update, etc. Or can no one reproduce this problem on their devices?
source
share