android - Process dialog problem..! -


i doing app in have activity 2 buttons(ex: submit , cancel) when user tapping on submit button displaying process dialog , doing background task or service calling stuff problem when user taps on home hard hey while process dialog showing app deactivated or paused, , when user app i.e when app re-activated or resumed unable click submit , cancel buttons again have press hard key focus on app, according observation came 1 conclusion process dialog blocker of app. how solve issue?? how suspend process dialog when app paused or deactivated??

thanks, ram.

it better if can put code canceldialog(id) in onpause , showdialog(id) in onresume conditions of course.

i hope creating dialogs noncreatedialog(int id)


Comments

Popular posts from this blog

linux - Using a Cron Job to check if my mod_wsgi / apache server is running and restart -

actionscript 3 - TweenLite does not work with object -

jQuery Ajax Render Fragments OR Whole Page -