views:

262

answers:

2

I need to open a webpage from a BlackBerry application. I don't want to use a hyperlink so that users have to navigate to the blackberry browser application. So, I basically need a full screen where the content of that particular page can be loaded just like a browser. Is weblinks the answer to what I need or do I need to just invoke a browser session? Thanks!

A: 

You would definitely have to invoke a browser session. Now, for IE, this can be done quietly in the background by invoking an IE Application Object in VB / C#

This would also permit you to modify the properties of the IE Application Object as well as the properties of any document opened to suit your needs.

Crimson
I don't think that's relevant to this question, which is about BlackBerry applications (I've edited the question and title to make it clearer).
Marc Novakowski
+3  A: 

For BlackBerry applications you can use

   BrowserSession session = Browser.getDefaultSession();
   session.displayPage(url);

It will automatically open the browser with the given url. It's basically invoking the browser in your application context, so pressing the back button will take the user back to your application.

Tamar