On Mon, Aug 1, 2011 at 8:40 PM, Streets Of Boston <[email protected]>wrote:
> I don't know what 'phNo' is, but your dialog should not be closed when > clicking the positive (OK) button. > Last I checked, dialogs close when clicking any of the default buttons on them. > I'm not sure, but did you try to call 'setCancelable(false)' when creating > the dialog? Maybe this could prevent automatic closing of the dialog. > Nope. You'd think, but that only prevents them from closing on the back button (again, last I checked, and it's been a while). Last time I saw this come up the suggestion was to not use the default buttons and instead add a simple Layout with your own buttons that you can better control. Why you have to jump through such hoops, I don't know. ------------------------------------------------------------------------------------------------- TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago transit tracking app for Android-powered devices -- 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

