There may be much work on the UI thread in your app.Try to move to a non-UI thread or break up the work into smaller pieces that are done over time rather than in one chunk? Make sure the UI thread have some "idle" time, so that it can respond to the user's actions....