Titanium Community Questions & Answer Archive

We felt that 6+ years of knowledge should not die so this is the Titanium Community Questions & Answer Archive

How can I get my phone number by Titanium?

Hi,i want to send message to a website that contians user's phone nmuber as a parameter,but seems there's no need to ask the user to type her/his phone number ,can some API of Titanium that can get the PHONE NUMBER?

— asked September 9th 2010 by Wen Bin
  • phone number
0 Comments

4 Answers

  • Apple does not allow access to the users phone number through code so Titanium also will not have access to the phone number. See the rejection notice in this post for detail.

    http://stackoverflow.com/questions/193182/programmatically-get-own-phone-number-in-iphone-os

    That is not to say you can't do it on Android, but you can't do it in iOS.

    BTW - The latest release of SpyPhone cannot access your own phone number either.

    — answered November 1st 2010 by John McKnight
    permalink
    0 Comments
  • I don't suppose anyone has any more details as to whether this is possible for Android or not?

    — answered May 2nd 2011 by D DB
    permalink
    0 Comments
  • I think you have to deal with the phone service operator of that sim card, they would provide you the request code. Titanium wouldn't have to deal with that.

    — answered September 9th 2010 by Den Cambodia
    permalink
    0 Comments
  • What do you mean that Titanium wouldn't have to deal with that?? We're developing our apps in Titanium and want to access the phone number of the device within Titanium code… Better answer please, I'm looking to do the same as the poster.

    — answered November 1st 2010 by Justin Toth
    permalink
    0 Comments
The ownership of individual contributions to this community generated content is retained by the authors of their contributions.
All trademarks remain the property of the respective owner.