android - ProgressDialog disappers after screen lock -
i have progressdialog running , accepting percent complete thread handle. when screen locked, unlocked, app returns home screen of app , not continue display progressdialog.
how can return same page progressdialog on it? assume need somehow save handle resource , recreate on onresume unsure how this.
thanks.
it seems you're on right track. assuming have class variables showprogressdialog , myprogress:
@override protected void onresume() { super.onresume(); if(showprogressdialog) { myprogressdialog.show(); myprogressdialog.setprogress(myprogress); } }
Comments
Post a Comment