Im a beginner in Android. I would like "freeze" my app (I mean, the user can't do any action) when I must do some operation. By example, I delete all row of one my SQLiteBase's table..during this process, I would like show a progressbar and the user can't do anything before the end.
I know (a little) the progressbar mechanism and the AsyncTask but I find it's a heavy solution.. there is a better simpler solution/practice ?