BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 06-06-2007, 02: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, 03: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





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