BlackBerry Forums Support Community
              

Closed Thread
 
LinkBack Thread Tools
Old 06-06-2007, 01:28 AM   #1 (permalink)
Knows Where the Search Button Is
 
Join Date: Jan 2007
Location: India
Model: 7230
Carrier: Airtel(india)
Posts: 18
Post Thanks: 0
Thanked 0 Times in 0 Posts
Question How to get my blackberry Email address programatically

Please Login to Remove!

Hello All,

I want to retrieve my blackberry email address programatically.If i have more than one account configured in my blackberry,i want to retrieve all. Is there any API available to accomplish this.
Any suggestions on this will be appreciated

thanks in advance.
Yash
Offline  
Old 06-06-2007, 02:25 AM   #2 (permalink)
CrackBerry Addict
 
Join Date: Jun 2005
Location: Manchester, UK
Model: BOLD
Carrier: t-mobile
Posts: 714
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

i grab the default one using:

Session mSession = Session.getDefaultInstance();
email = m.getStore().getServiceConfiguration().getEmailAdd ress();
__________________
new job doesn't allow a public profile - please do not contact this user with questions, you will not get a response. good luck!
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

APC AP92200 InfraStruXure Manager Server Appliance
$59.49
APC AP92200 InfraStruXure Manager Server Appliance pictureSUPERMICRO P8SCT ATX Server Motherboard ( 5014C-MT SERVER) Pentium 4 @ 3.0Ghz
$169.0
SUPERMICRO P8SCT ATX Server Motherboard ( 5014C-MT SERVER) Pentium 4 @ 3.0Ghz  pictureAvaya IP 500 PCS 08 Control Unit System Server VCM 64 700417397
$170.0
Avaya IP 500 PCS 08 Control Unit System Server VCM 64 700417397 pictureB9 SERVER SPRING ACTION DISPENSER FOR PORTION/CONDIMENT CUPS
$29.99
B9 SERVER SPRING ACTION DISPENSER FOR PORTION/CONDIMENT  CUPS pictureA41 SERVER SE-4 COMMERCIAL 4 PUMP CONDIMENT SERVING STATION SS COUNTER TOP
$79.99
A41 SERVER SE-4 COMMERCIAL 4 PUMP CONDIMENT SERVING STATION SS COUNTER TOP picture






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