BlackBerry Forums Support Community               

Closed Thread
LinkBack Thread Tools
Old 08-31-2007, 06:39 AM   #1 (permalink)
New Member
Join Date: Jul 2007
Model: 7290
Carrier: Bharati Telecom
Posts: 7
Post Thanks: 0
Thanked 0 Times in 0 Posts
Question Retrieving the user email id from device programatically

Please Login to Remove!


We are developing an application that retrieves the email id from the device using -

Session.getDefaultInstance().getServiceConfigurati on().getEmailAddress()

I have a doubt regarding this. If multiple email accounts have been configured on the device, using BIS, then which email id would this function return?
Old 09-01-2007, 10:51 PM   #2 (permalink)
Thumbs Must Hurt
Join Date: Jun 2007
Location: Bangladesh
Model: 8800
Carrier: EDGE
Posts: 93
Post Thanks: 0
Thanked 0 Times in 0 Posts

Hi shruti.gosavi,

Originally Posted by shruti.gosavi View Post
Session.getDefaultInstance().getServiceConfigurati on().getEmailAddress()
Session.getDefaultInstance().getStore().getService Configuration().getEmailAddress()

This code retrieves the default message service email address for the BlackBerry wireless device.


Last edited by arifzaman : 09-01-2007 at 10:53 PM.
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
The names RIM and BlackBerry are registered Trademarks of BlackBerry Inc.