Hi Beneesh,

Perhaps what you need is a ProgressDialog with .setCancelable(false);

Good luck,
Mike

On Jun 17, 7:34 am, beneesh baby <[email protected]> wrote:
> Hi,
>
>     How to disable the back button when the alert box  is on the
> screen ....
>
> I used onKeyDown function in the activity.....but when back button
> button is clicked it first cancels the dialog box and goes to our
> activity...I want both either both activity and dialog box closed when
> clicking the back button or disable the back button when the dialog
> box is shown...
>
> can any one suggest any solutions for this....
>
> Thanks in advance,
>
> Beneesh

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to