Hi,
 i dont think their is any api in android to check the validity of a
contact number as 3 digit number is a valid and so as the 15 digit
number to add to the contacts.

But i think one has to write own set of classes or methods inorder to
check the validity and thus store in the contact list.

regards
sheik

On Jan 13, 9:49 am, "Manjunatha M (ಮಂಜುನಾಥ ಎಂ)" <man...@gmail.com>
wrote:
> Hi all,
> I am writing an application, which actually tries to insert a number into
> the contacts.
> Before inserting, I need to check for the validity of the phone number.
>
> Does android provide any API to pass this value and check if the phone
> number is valid or not?
>
> Regards,
> Manjunatha
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to