How to take user inputted number and assign to byte
<p>I've got a user input dialog box which I'm using to update a value.</p>

<p><code>byte valScoreAway = 0;</code></p>

<p>The value of valScoreAway is displayed on the screen with:</p>

<p><code>tvScoreAway.setText( valScoreAway );</code></p>

<p>This works perfectly.</p>

<p>During the program the score will increment when the TextView tvScoreAway is clicked.
This works perfectly.</p>

<p>If there is an error, I have it so that a onLongClickListerner() will inflate a dialog box with an edit field.  The user will enter the correct value into the EditView and then click OK.  When the OK button is click, I am trying to assign the user inputted value to valScoreAway but it is failing because valScoreAway is a <code>byte</code> type and <code>userInput.getText()</code> is returning a string.</p>

<p>Basically, I need to convert the value of <code>userInput.getText()</code> to a byte type.</p>

<p>Can someone please help me with this?</p>
