Is inputType="phone" limit the no of digits to take as inout
<p>I used <code>android:inputType = "phone"</code> to take phone number as input, but if i give six digits it takes otherwise force close and fires the error that </p>

<blockquote>
  <p>"NumberFormat exception not valid int value"</p>
</blockquote>

<p>Actually i'm trying to convert that value to integer through:</p>

<pre><code>phone = Integer.parseInt(phoneNumber.getText().toString());
</code></pre>
