why cant you retrieve text from EditText widget in Android?

view story

http://stackoverflow.com – So why is this? even on android developer guide they game an example as if you can http://developer.android.com/guide/topics/ui/dialogs.html Is they actually ANY way at all? Becasue I want to create a simple login dialog box and the programs has to check the logins the user has typed how can I do this? (HowTos)