Are you complaining about this being too verbose? If so, it doesn't seem a whole lot more verbose than a single function call (you don't -have- to put this on so many lines if you don't want to), and far more understandable give the number of options and parameters you can supply for an alert dialog.
On Mon, Dec 7, 2009 at 1:14 PM, JimmyHoffa <[email protected]>wrote: > Hi all, > > The subject says it all, just curious if I've missed something or does > displaying a quick warning to the user require code such as the > following; > > Dialog msg = new AlertDialog.Builder(Login.this) > .setPositiveButton("OK", null) > .setMessage("Please enter both login name and password") > .create(); > msg.show(); > > Cheers ;-) > > -- > 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]<android-developers%[email protected]> > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en > -- Dianne Hackborn Android framework engineer [email protected] Note: please don't send private questions to me, as I don't have time to provide private support, and so won't reply to such e-mails. All such questions should be posted on public forums, where I and others can see and answer them. -- 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

