• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to get the name of the user using edittext in android please help me

 
izhar khan
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i am building an app
i am new to android
can anyone tell me please that how can i get the name of the user
the user just enter the name in a text field and i get the name without any button
any example code will be highly appreciated
thanks in advance
 
Ulf Dittmer
Rancher
Posts: 42969
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you have a reference to the EditText object then you should have no problem retrieving the contents of the field. I don't understand what a button would have to do with this, though.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic