Windows,Android,Linux,Apple Mac,Iphone,Ipad,Tips and Tricks,tutorial for Problem.Repair,Recovery,data,Troubleshooting,Computer Help,Software,Tweak Computers,Guide to Windows,linux and software Install guide.MotherBoard repair,Hardware.GSM,Phone,Wireless,WIFI,Msn,Ubuntu.Blogger tips....
Check empty of EditText
To check if the content of a EditText is empty or not, the method equals() can be used.
if (EditText.getText().toString().equals("")) { //Do if the EditText is empty } else { //Do if the EditText is not empty }