Register FAQ / Rules Forum Spy Search Today's Posts Mark Forums Read
Go Back   MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Reply
 
Thread Tools Search this Thread Display Modes
Old Mar 16, 2008, 01:37 PM   #1
drivefast
macrumors regular
 
Join Date: Mar 2008
where is the iPhone's phone number stored?

hi everybody,

does any one of you know where the iphone's phone number is stored? it shows up on a grayed bar on top of the phonebook page, but i had no luck finding it inside the address book database. i doubt it's accessible from the SDK as it is now, but i can probably hack it out from somewhere. maybe the mobile phone or sms applications settings store it?... thanks.
drivefast is offline   0 Reply With Quote
Old Mar 16, 2008, 01:55 PM   #2
Cromulent
macrumors 603
 
Cromulent's Avatar
 
Join Date: Oct 2006
Location: The Land of Hope and Glory
Quote:
Originally Posted by drivefast View Post
hi everybody,

does any one of you know where the iphone's phone number is stored? it shows up on a grayed bar on top of the phonebook page, but i had no luck finding it inside the address book database. i doubt it's accessible from the SDK as it is now, but i can probably hack it out from somewhere. maybe the mobile phone or sms applications settings store it?... thanks.
It is stored in the SIM card.
__________________
Neural Advance - Mac OS X, UNIX and Windows Development
Last.fm Profile | Extreme Metal Reviews
MP 4x 2.66Ghz Xeons / 6GB RAM / 640GB + 500GB + 750GB + 1TB HDDs / ATI Radeon 4870 / iPad 3
Cromulent is offline   0 Reply With Quote
Old Mar 16, 2008, 03:02 PM   #3
drivefast
Thread Starter
macrumors regular
 
Join Date: Mar 2008
ew... thanks, this is definitely the best place to get it from. but whatever method i use to get the number for now, it will eventually have to be ported into the official sdk. i've a feeling apple is not going to like apps looking directly into the sim. somehow i would think the phone number must also be somewhere in a file...?
drivefast is offline   0 Reply With Quote
Old Apr 14, 2008, 07:15 PM   #4
mzichao
macrumors newbie
 
Join Date: Mar 2008
I'm interested as well!

Quote:
Originally Posted by drivefast View Post
ew... thanks, this is definitely the best place to get it from. but whatever method i use to get the number for now, it will eventually have to be ported into the official sdk. i've a feeling apple is not going to like apps looking directly into the sim. somehow i would think the phone number must also be somewhere in a file...?
I can't find any iPhone API to retrieve iPhone phone number neither. Anybody knows a way to get the phone number?

Thanks.
mzichao is offline   0 Reply With Quote
Old Apr 14, 2008, 07:43 PM   #5
iphoneGuy
macrumors member
 
Join Date: Oct 2007
Location: [[NSLocation alloc] initWithCity: Chicago]
Quote:
Originally Posted by mzichao View Post
I can't find any iPhone API to retrieve iPhone phone number neither. Anybody knows a way to get the phone number?

Thanks.
There is none yet.. I would not hold your breath...
iphoneGuy is offline   0 Reply With Quote

Reply
MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
thread Thread Starter Forum Replies Last Post
How does one count the number of events stored in iCloud? infobleep iCloud and Apple Services 5 Jun 1, 2014 07:00 AM
Issue: iMessage showing telephone number for contact stored jaysen iOS 6 5 Jun 5, 2013 06:34 AM
Where is the serial number stored? laxexquis MacBook Air 5 Nov 12, 2012 04:57 AM
iPhone 4s phone number oscarm iPhone 15 Aug 6, 2012 01:20 AM
iPhone Phone Number That-Guy iPhone 1 Jul 2, 2012 07:34 PM

Forum Jump

All times are GMT -5. The time now is 10:13 PM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Copyright 2002-2013, MacRumors.com, LLC