Determining which value of IntentExtra has been sent
<p>I want to determine which value has been sent by different buttons that I have in my code. I have tried the code below.
Thanks in advance!</p>

<pre><code>if (intent.getExtras().getString("") == button1value){
}
</code></pre>
