02-08-2010, 12:43 PM
#1 (permalink )
Registered Member
Join Date: Sep 2009
Posts: 31
Determine if a phone is a mobile or landline number...?
Hello,
Does anybody knows... if there is a way to determine if a phone is a 'mobile number' or a 'landline number' ???
I know.. iPhone's Contacts app, allows you to set the 'Mobile' number for a specific contact.
The issue i'm dealing with, is that you could also add a new phone field. Let's say... i add 'Palm Treo', with a mobile number.
Programatically, there is no way to know if that given field is mobile or not.
So... is there any algorithm, database, or something to check this out?
THANKS!!!
02-08-2010, 12:58 PM
#2 (permalink )
Obj-C Learner
Join Date: Apr 2009
Location: Manchester, UK
Posts: 1,030
If it's country specific, then yes,
In the UK, all mobile numbers (I think) start with 07 (+447) and all landlines start with 01 or 02.
Then the rest is corporate numbers.
I think this is right, anyone here to clarify? I'm sure this is in effect in other countries.
02-08-2010, 01:17 PM
#3 (permalink )
Registered Member
Join Date: Sep 2009
Posts: 31
Thanks =D
I was hoping there were some kind of... apple's framework... but i guess i'll have to code it.
Any ideas about... how to check if a number is a mobile, in the US ?
THANKS!!!
02-08-2010, 01:54 PM
#4 (permalink )
Obj-C Learner
Join Date: Apr 2009
Location: Manchester, UK
Posts: 1,030
Don't they all have 555 in the middle?
You'll have to consult un americano.
02-08-2010, 04:37 PM
#5 (permalink )
Registered Member
Join Date: Sep 2009
Posts: 31
I'm asking since... i'm not from US, but developing an app which main target is... well, US!.
Thanks again
02-08-2010, 04:48 PM
#6 (permalink )
Registered Member
Join Date: Dec 2009
Posts: 271
The problem with US numbers is local number portability.
__________________
@rarindeed
Burstly is the only open and free ad management platform for iPhone app developers.
02-08-2010, 05:09 PM
#7 (permalink )
Obj-C Learner
Join Date: Apr 2009
Location: Manchester, UK
Posts: 1,030
Quote:
Originally Posted by
rarindeed
The problem with US numbers is local number portability.
Is there no specific prefix?
02-08-2010, 05:33 PM
#8 (permalink )
Registered Member
Join Date: Dec 2009
Posts: 271
Basically any number, regardless of original registrant, can be transferred across lines. e.g., I could get a number for a landline with Verizon and then transfer it to an iPhone with AT&T.
__________________
@rarindeed
Burstly is the only open and free ad management platform for iPhone app developers.
Thread Tools
Display Modes
Linear Mode
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
» Advertisements
» Online Users: 1,001
22 members and 979 guests
Alex_TNT , AragornSG , arfius , changwei tu , chits12345 , eggerr , fanarin , janice23 , jjaaxx44 , justin-UK , lavernwatts , Marckov85 , mikeirvingapps , Nicoloren , nidie , OstinGames2011 , premkumarmsc1 , rrlemoine , s kumar , SoulRed12 , undeadlegion , watermelonvodka
Most users ever online was 1,187, 10-11-2011 at 08:09 AM.
» Stats
Members: 158,487
Threads: 89,094
Posts: 380,134
Top Poster: BrianSlick (7,091)
Welcome to our newest member, fanarin