BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 04-03-2007, 10:58 AM   #1 (permalink)
New Member
 
Join Date: Apr 2007
Model: 7290
Posts: 2
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default Accessing address book from Browser App

Please Login to Remove!

Hi everyone,

I'm writing a browser application in .NET and would like to be able to send email from it. What I want to accomplish is allowing a user to select an email address from their address book on their HH, and then my app would take over from there. Is there any way to accomplish this?

Thank you !
Offline  
Old 04-09-2007, 07:44 AM   #2 (permalink)
New Member
 
Join Date: Apr 2007
Model: 7290
Posts: 2
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

anyone?
Offline  
Old 04-10-2007, 12:50 PM   #3 (permalink)
New Member
 
bglodde's Avatar
 
Join Date: Mar 2005
Location: Northeast Ohio
Model: 8300
Carrier: AT&T
Posts: 8
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

AFAIK, cannot be done from a browser. To access the contact list, you need a native BB application.
Offline  
Old 04-21-2007, 11:14 AM   #4 (permalink)
New Member
 
Join Date: Apr 2006
Location: Hamilton, ON
Model: 7280
Carrier: Bell
Posts: 2
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by Jamsan View Post
Hi everyone,

I'm writing a browser application in .NET and would like to be able to send email from it. What I want to accomplish is allowing a user to select an email address from their address book on their HH, and then my app would take over from there. Is there any way to accomplish this?

Thank you !
Sure, this is possible. You'll have to cheat a little and use the Browser API to send a request to your .NET application (I assume you're talking an ASP.NET page). Just send the contact email as a parameter and then display the browser page on the unit.

In your BB application, something like:

String emailString = (your contact email)...
BrowserSession visit = Browser.getDefaultSession();
visit.displayPage("http://yourserver/yourpage.aspx?contactemail=" + emailString);

In ASP.NET, take a look at the System.Web.Mail namespace. I'm sure you can find lot's of examples of this. Of course you'll need to know SmtpServer address to be able to send the mail.

Of course, as mentioned above, you need to have a native BB application that deals with the contact list.

Hope this helps.

Last edited by mrbarnard : 04-21-2007 at 11:15 AM.
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

IBASE IB810-16M SBS , CPU, FAN , 1GB RAM,2LAN,VGA
$995.0
IBASE IB810-16M SBS , CPU, FAN , 1GB RAM,2LAN,VGA pictureFANUC MEMORY MODULE EXPANSION RAM 256K BYTES CMOS IC697MEM717
$3.99
FANUC MEMORY MODULE EXPANSION RAM 256K BYTES CMOS IC697MEM717 pictureNETAPP CONTROLLER PCIE 110-00061+A0 111-00138+G0 WITH RAM 107-00029+A0 AND BBU
$34.0
NETAPP CONTROLLER PCIE 110-00061+A0 111-00138+G0 WITH RAM 107-00029+A0 AND BBU pictureBRIDGEPORT MILL PART, J HEAD MILLING MACHINE RAM PINION 2060255 M1244 USED EXCEL
$54.99
BRIDGEPORT MILL PART, J HEAD MILLING MACHINE RAM PINION 2060255 M1244 USED EXCEL pictureMosel Vitelic V53C16258HT45 256Kx16 EDO Page Mode RAM
$19.99
Mosel Vitelic V53C16258HT45 256Kx16 EDO Page Mode RAM picture






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