Message sent using invalid number of digits. Please resend using 10 digit number or valid short code android 9230 in android
<p>I am creating application in which we reply to sender of the text message automatically from our android device. I had check that number has only digits not letters for validation but some times while sending message it gives me error as:</p>

<p>Message sent using invalid number of digits. Please resend using 10 digit number or valid short code android</p>

<p>like that how can i avoid number formatting in android.  or is there another way avoid this error. If any one knows solution about this please let me know.</p>

<p>Thank You.
 Vikram </p>
