Can't check the value of an EditText in an AlertDialog.Builder?

Do it in the Android way: if (TextUtils. IsEmpty(mEditText.getText()) { mEditText. StartAnimation(shake); } else { finish(); }.

Put it like this if (test == null || test.length().

Thanks. Checking the length did work, but I'm puzzled as to why my original code did not work. – user432209 Dec 5 '10 at 16:24 2 Your original code didn't work because in Java Strings are compared with equals(), not == – ognian Dec 5 '10 at 16:26.

All times are GMT -5. The time now is 07:19 PM. Powered by vBulletin® Version 3.8.7Copyright ©2000 - 2013, vBulletin Solutions, Inc.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions