BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 08-17-2009, 09:37 AM   #1 (permalink)
Knows Where the Search Button Is
 
Join Date: Jun 2009
Model: 8300
PIN: N/A
Carrier: Rogers
Posts: 43
Post Thanks: 0
Thanked 0 Times in 0 Posts
Cool Get users blackberry ID

Please Login to Remove!

Is there a way to retrieve info about the users blackberry using code? I need to retrieve anything from the phone so recognize which user is running the app.

Can I retreve either of these?

1.) the blackberry's ID
2.) the users phone number

thanx!
Offline  
Old 08-17-2009, 10:41 AM   #2 (permalink)
BlackBerry Extraordinaire
 
Join Date: Mar 2008
Location: Austin, TX
Model: 9700
PIN: N/A
Carrier: T-Mobile
Posts: 1,644
Post Thanks: 0
Thanked 34 Times in 33 Posts
Default

DeviceInfo.getDeviceId() retrieves the PIN for the device.

Phone.getDevicePhoneNumber() retrieves the device phone number.

It's all in the API docs.
Offline  
Closed Thread


Thread Tools

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

MBRS360T3G SEMICONDUCTOR DIODE SCHOTTKY 60V 3A SMC MBRS360 SRFACE MOUNT
$4.0
MBRS360T3G SEMICONDUCTOR DIODE SCHOTTKY 60V 3A SMC MBRS360 SRFACE MOUNT pictureLot of 3 Ferraz Shawmut A50P500-4TA 500A 500V AmpTrap Semiconductor Fuse
$126.75
Lot of 3 Ferraz Shawmut A50P500-4TA 500A 500V AmpTrap Semiconductor Fuse pictureLITTELFUSE BUSSMANN L70S-125 700VAC 650VDC 125A SEMICONDUCTOR FUSE
$7.99
LITTELFUSE BUSSMANN L70S-125 700VAC 650VDC 125A SEMICONDUCTOR FUSE pictureA50L-0001-0259/N - Electronic Component - Semiconductor Module
$95.19
A50L-0001-0259/N - Electronic Component - Semiconductor Module pictureJFET, RF, N CH, 200MW, SOT-23-3 Part # ON SEMICONDUCTOR 2SK3557-7-TB-E
$1.89
JFET, RF, N CH, 200MW, SOT-23-3 Part # ON SEMICONDUCTOR 2SK3557-7-TB-E picture






Copyright 2004-2016 BlackBerryForums.com.
The names RIM and BlackBerry are registered Trademarks of BlackBerry Inc.