'Global' ProgressDialog on android -


i need execute long running task on android application (network activity). use new thread it. working fine.

the problem need update sqlite database results of process , must not let user ui interaction while doing update.

i thinking in use progressdialog force user wait. context use on creation of progressdialog ? problem not know activity user using now. need way of block user interface works in global way.

you asynctask progressdialog.

are sure behavior looking though? want randomly pop dialog in middle of user's task? doesn't sound great user experience. ideally want perform these operations w/o disrupting user... sure isn't possible? (maybe can give more detailed info on this).


Comments

Popular posts from this blog

javascript - backbone.js Collection.add() doesn't `construct` (`initialize`) an object -

php - Get uncommon values from two or more arrays -

Adding duplicate array rows in Php -