• 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: 42970
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.
 
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!