how to do simple login verification in android?
<p>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..</p>

<pre><code>protected boolean isValid(String string1,String string2) {
</code></pre>

<p>if(string1.equals(string2))
   return true;
  else
  return false;</p>

<p>}</p>

<p>but it is not working properly...</p>
