04-19-2011 07:01 PM
The thing is, I'd like to open up the built-in broswer app when someone clicks on a link im my app.
Can anyone give me some example for how to do that?
At the moment the links are opened in the app which is not a good thing.
Thanks for your help, I'll give Kudos for right answers!
04-19-2011 07:21 PM
You'll want to use the invoke browser API
You just have to use code like:
var args = new blackberry.invoke.BrowserArguments( page );
where page is a string containing the URL you want to vist.
This will switch the app to the browser, and open the inputed webpage
EG: page = "http://www.blackberry.com" will open blackberry.com in the browser
And in your XML you need to have: