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 <sreehari.madhusooda...@wipro.com>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 android-developers@googlegroups.com > To unsubscribe from this group, send email to > android-developers+unsubscr...@googlegroups.com<android-developers%2bunsubscr...@googlegroups.com> > 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 android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en