BlackBerry Forums Support Community
              

Closed Thread
 
Thread Tools
Old 10-31-2008, 07:58 AM   #1
martinpas
Thumbs Must Hurt
 
Join Date: Feb 2008
Location: Buenos aires, Argentina
Model: 8520
PIN: N/A
Carrier: Claro
Posts: 75
Default Get the user email address

Please Login to Remove!

How can i get the user email address with an application.

With the RIM Api i mean.

Thanks
__________________
Martin

Blackberry Instructor
Offline  
Old 10-31-2008, 08:18 AM   #2
simon.hain
CrackBerry Addict
 
Join Date: Apr 2005
Location: hamburg, germany
Model: 8900
Carrier: o2
Posts: 838
Default

iterate through the servicerecords of your servicebook (use the corresponding classes). using the serviceconfiguration you can now read the mailaddresses.
__________________
java developer, Devinto, hamburg/germany
Offline  
Old 10-31-2008, 11:11 AM   #3
martinpas
Thumbs Must Hurt
 
Join Date: Feb 2008
Location: Buenos aires, Argentina
Model: 8520
PIN: N/A
Carrier: Claro
Posts: 75
Default done !

import net.rim.blackberry.api.mail.Session;

...........
..........

String strAddr = Session.getDefaultInstance().getStore().getService Configuration().getEmailAddress();

Thanks !
__________________
Martin

Blackberry Instructor
Offline  
Closed Thread



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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


128K RAM - APPLE - ORIGINAL APPLE prototype BOARD picture

128K RAM - APPLE - ORIGINAL APPLE prototype BOARD

$408.75



APPLE 630-0895-B  VRAM 128K X 8 BOARD CARD VINTAGE picture

APPLE 630-0895-B VRAM 128K X 8 BOARD CARD VINTAGE

$74.77



APPLE 820-0522-A 630-0895-B LITE VRAM 128K X 8 BOARD  picture

APPLE 820-0522-A 630-0895-B LITE VRAM 128K X 8 BOARD

$149.99







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