Getting the a text from EditText (but a Number)
<p>I know that you can get a normal text like this:</p>

<pre><code>EditText input = (EditText) findViewById(R.id.input);
String value = input.getText().toString();
</code></pre>

<p>but now I need a to an input like this: 0xFFFFFF (a Hex-Color), an Integer... But value is only a String and I don't know how to convert it... I'm using view.setBackgroundColor(color);</p>

<p>Thanks a lot! </p>
