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
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, 10: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 10:53 PM.
Offline  




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