BlackBerry Forums Support Community
              

Closed Thread
 
Thread Tools
Old 04-03-2007, 10:58 AM   #1
Jamsan
New Member
 
Join Date: Apr 2007
Model: 7290
Posts: 2
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
Jamsan
New Member
 
Join Date: Apr 2007
Model: 7290
Posts: 2
Default

anyone?
Offline  
Old 04-10-2007, 12:50 PM   #3
bglodde
New Member
 
bglodde's Avatar
 
Join Date: Mar 2005
Location: Northeast Ohio
Model: 8300
Carrier: AT&T
Posts: 8
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
mrbarnard
New Member
 
Join Date: Apr 2006
Location: Hamilton, ON
Model: 7280
Carrier: Bell
Posts: 2
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



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


A1618 NEW OEM Battery for MacBook Pro 15

A1618 NEW OEM Battery for MacBook Pro 15" Retina A1398 Mid 2015 020-00079

$45.90



NEW OEM Battery A1466 A1369 A1496 A1405 A1377 A1466 for MacBook Air 13 inch picture

NEW OEM Battery A1466 A1369 A1496 A1405 A1377 A1466 for MacBook Air 13 inch

$31.90



Lot of OEM APPLE iPAD LCD And White Front Glass Replacement 6091l-1402C picture

Lot of OEM APPLE iPAD LCD And White Front Glass Replacement 6091l-1402C

$17.99



Genuine A1417 OEM Battery Apple Macbook Pro 15 Retina A1398 Mid 2012 Early 2013 picture

Genuine A1417 OEM Battery Apple Macbook Pro 15 Retina A1398 Mid 2012 Early 2013

$40.90



NEW OEM A1618 Battery for Apple MacBook Pro 15” Retina 99.5Wh A1398 Mid 2015 picture

NEW OEM A1618 Battery for Apple MacBook Pro 15” Retina 99.5Wh A1398 Mid 2015

$45.90



Genuine OEM A1417 Battery For Apple Macbook Pro 15

Genuine OEM A1417 Battery For Apple Macbook Pro 15" Retina A1398 2012 2013 NEW

$40.90







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