BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 08-31-2007, 07:39 AM   #1 (permalink)
New Member
 
Join Date: Jul 2007
Model: 7290
PIN: N/A
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!

Hi,

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?
Offline  
Old 09-01-2007, 11:51 PM   #2 (permalink)
Thumbs Must Hurt
 
Join Date: Jun 2007
Location: Bangladesh
Model: 8800
PIN: N/A
Carrier: EDGE
Posts: 93
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi shruti.gosavi,

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

Cheers,
ARIF

Last edited by arifzaman : 09-01-2007 at 11:53 PM.
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.