Although the dialogs are *almost* modal in Android, they are fundamentally (or practically) asynchronous.
Search for modal dialogs and android in google and you will see a lot of write up from this news group. So you have to reorient your programming where you can alert and wait the main thread. This is just not possible (as far as I know). If you are using alerts for debugging you may want to use "toast" or "Log.d". Bottom line you cannot stop the main thread while a dialog is being acted upon and finished. On Tue, May 10, 2011 at 7:38 AM, ABS <[email protected]> wrote: > Hi Everybody, > > I am new to android, working on one application in which > i am using series of dialog boxes to show alert to user , I have to > show dialogs one after another i.e simultaneously but when first > dialog comes out the code running behind dialog haven't stop still end > of method. hence it does not shows remaining dialogs simply it ignores > remaining dialogs. > I have to stop control of program at the first dialog, > if anybody has solution on this reply me > > > Thanks in advance > > Regards > > -- > 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 -- Satya Komatineni http://www.satyakomatineni.com http://www.androidbook.com -- 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

