BlackBerry Forums Support Community

BlackBerry Forums Support Community (http://www.blackberryforums.com/index.php)
-   Developer Forum (http://www.blackberryforums.com/forumdisplay.php?f=15)
-   -   API for getting BB's phone number (http://www.blackberryforums.com/showthread.php?t=18881)

vcoleman 11-10-2005 02:06 PM

API for getting BB's phone number
 
Hi,

I looked through various API's and didn't see a way of getting the BlackBerry's phone number. It must be possible... Does anybody have any ideas?

Thanks,

Victor.

southwestcomm 11-10-2005 06:23 PM

The phone numbe on the actual unit? Just hit the space bar.....

vcoleman 11-11-2005 02:36 PM

I know what the unit's number is, but inside of a program what functions do I call into what libraries (API's) to discover that number?

lharts 11-24-2005 05:05 AM

if you find what your looking for let me know! from all the research i have done tho theres no way of getting it! I have created a persistent store that gets the app user to enter the phone number and stores it for retrival @ a later date. its easy to get the device pin but i would MUCH rather teh MSISDN/IMSI so if you come up with a possible solution let me know!!

shan 12-29-2005 10:44 AM

You can get the device phone number by using the API net.rim.blackberry.api.phone.Phone

The method is getDevicePhoneNumber(true).

But these API's are in signed category.

arconsulting 12-30-2005 03:09 PM

Caveat - This method is new to v4.1 so it won't (at this point) run on most devices.

If you are targeting the 8700x, you are good to go.


All times are GMT -5. The time now is 01:52 AM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.