Change variable by clicking
<p>How do something like that when you click on the button set to the name.</p>

<p>Just the idea is that when you click the variable name is changed.</p>

<p>In C++ ( DOS ) i say:</p>

<pre><code>cout&lt;&lt;"Give me any name: ";
cin&gt;&gt;name;
</code></pre>

<p>and now i set for instance:</p>

<pre><code>cout&lt;&lt;"What's your name?: "&lt;&lt;**name**&lt;&lt;endl;
</code></pre>

<p>How to do in Android? But i need Click and set "name".</p>
