i have created the login screen but i am unable to verify the data in the edit box..
i have tried for simple verification using following function that checks whether the username and password are same..
protected boolean isValid(String string1,String string2) {
if(string1.equals(string2))
return true;
else
return false;
}
but it is not working properly…
You have to specify
EditTextwidget of android in you layout:put this in your xml layout:
now in you activity enter validation code: