Hi vikas, I don't see any issue in your code, may I know what problem you are facing with?
On Mon, Aug 27, 2012 at 11:55 AM, karuna vikas <kvk2551...@gmail.com> wrote: > .... activity implements OnClickListener > EditText text; > String editText; > public void OnCreate() > { > text = (EditText) findViewById(R.id.EditText1); > > } > inside the Button method{ > > editText = text.getText().toString() > } > > > On Saturday, June 2, 2012 11:36:47 PM UTC+5:30, Raghu wrote: >> >> hi, >> >> how can i get the text entered by the user in the Edit Text on button >> click, kindly do help me on this >> > -- > 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 -- 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