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?
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.
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.
I don't suppose anyone has any more details as to whether this is possible for Android or not?
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.
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.