please write these lines inside button click listener code *not in onCreate()*
username = name.getText().toString(); password = pass.getText().toString(); On Fri, Feb 19, 2010 at 2:47 PM, SREEHARI <[email protected]>wrote: > As Darshana said u dint say what is the exact problem. > Is this code getting failed for authentication?? > Use ".equals" instead of "==" > > *if (username.equals("kami") && password.equals("kami")) > > Hope this will work > > > -- > You received this message because you are subscribed to the Google > Groups "Android Developers" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected]<android-developers%[email protected]> > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en > -- Thank you, Dilli Rao. M www.arijasoft.com -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

