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.
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

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!

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