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

New HP Proliant DL380 Gen4/ML370 Server Intel Xeon Processor 311584-B21
$56.99
New HP Proliant DL380 Gen4/ML370 Server Intel Xeon Processor 311584-B21 pictureINTEL S3000AH SERVER MOTHERBOARD WITH Intel Xeon 3040 CPU
$39.99
INTEL S3000AH SERVER MOTHERBOARD WITH Intel Xeon 3040 CPU pictureHP C7000 COMPLETE SERVER SYSTEM 16 X BL460C BLADES XEON 220GB RAM NICE SYSTEM
$849.99
HP C7000 COMPLETE SERVER SYSTEM 16 X BL460C BLADES XEON 220GB RAM NICE SYSTEM pictureAdlink NuPRO-900A Single Board Computer SBC, Dual Intel Xeon, NuPRO-900A-104
$764.54
Adlink NuPRO-900A Single Board Computer SBC, Dual Intel Xeon, NuPRO-900A-104 pictureDell Electronics PowerEdge 2950 Server (9424)
$49.95
Dell Electronics PowerEdge 2950 Server (9424) picture






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