Welcome!

Welcome to the Official BlackBerry Support Community Forums. This is your resource to discuss support topics with your peers, and learn from each other. New to the forum? Please visit the ‘Getting Started’ link below.
inside custom component

Native Development

Reply
Developer
LMcRae
Posts: 163
Registered: ‎04-16-2009
Accepted Solution

Display webpage

I need to display a webpage from my app but I can't seem to find anything to launch the browser.  I also don't see anything to do a http post other using sockets. Are there no higher level network libs?

Please use plain text.
Developer
LMcRae
Posts: 163
Registered: ‎04-16-2009

Re: Display webpage

Can anyone point me to the rough area I need to look in for this.  My game is finished I just need a way to launch the browser to show my high score page and a http post to send it.

Please use plain text.
BlackBerry Development Advisor
oros
Posts: 869
Registered: ‎04-12-2010
My Carrier: Bell

Re: Display webpage

Hello,

 

With respect to launching the browser, there is some information in the following thread regarding invoking other applications:

http://supportforums.blackberry.com/t5/Native-SDK-for-BlackBerry-Tablet/launching-other-apps/td-p/13...

 

HTTP requests are set to be handled by the native browser, therefore something like the following should allow you to launch the browser to a URL:

 

navigator_invoke("http://www.google.ca/", 0);

 With respect to HTTP/Socket connections, the following thread may be of use:

http://supportforums.blackberry.com/t5/Native-SDK-for-BlackBerry-Tablet/Playbook-Network-I-O/td-p/13...

 

Erik Oros

BlackBerry Development Advisor

Erik Oros
BlackBerry Development Advisor
@WaterlooErik
Please use plain text.
Developer
LMcRae
Posts: 163
Registered: ‎04-16-2009

Re: Display webpage

Thank you very much.   That exactly what I needed.

Please use plain text.