BlackBerryForums.com : Your Number One BlackBerry Community      

»Sponsored Links




Closed Thread
 
LinkBack Thread Tools
  (#1 (permalink)) Old
Jamsan Offline
New Member
 
Posts: 2
Join Date: Apr 2007
Model: 7290
Default Accessing address book from Browser App - 04-03-2007, 11:58 AM

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 !
   
Sponsored Links
Please Login or Register to Remove these Advertisements!

  (#2 (permalink)) Old
Jamsan Offline
New Member
 
Posts: 2
Join Date: Apr 2007
Model: 7290
Default 04-09-2007, 08:44 AM

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

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

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 12:15 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-2008 BlackBerryNews.com, BlackBerryFAQ.com, BlackBerryForums.com.
The names RIM © and BlackBerry © are registered Trademarks of Research In Motion Limited.
Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.0.1