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

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
thread Thread Starter Forum Replies Last Post
Where is the User account image stored? ohla313 Mac OS X 10.7 Lion 1 Nov 12, 2011 07:10 AM
iMessage Phone Number/Email Jakerz iOS 5 and earlier 3 Oct 26, 2011 02:06 PM
Where is the Reserve for in store pick-up? moviecouple iPhone 2 Jun 15, 2010 03:59 AM
Where Is My New Phone Number? JusChexin iPhone 2 Jun 19, 2009 11:52 AM
Where is the backup/contact list stored on a Windows Computer? joker8baller iPhone Tips, Help and Troubleshooting 0 Jul 10, 2008 01:35 PM


All times are GMT -5. The time now is 07:22 PM.

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

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