title: login in android without sqlite
body: <pre><code>     public void clickmea(View view)
         {
            EditText ed1 = (EditText) findViewById(R.id.editText4);      
            EditText ed2 = (EditText) findViewById(R.id.editText5);       
            String s1=ed1.getText().toString();      
            String s2=ed2.getText().toString();    
            if ((s1 == "abc") &amp;&amp; (s2 == "abc"))      
                {     
                   Log.i("msg","successful");        
                }      
            else     
                {          
                   Log.i("msg","unsuccessful");   
                }        
         }
  </code></pre>
  
  <p>when I run above code it displays unsuccessful msg in the log even if I type abc in both text boxes.</p>