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.

inside custom component

Web and WebWorks Development

Reply
Developer
Posts: 672
Registered: ‎12-04-2012
My Device: BlackBerry 8520

Any body pleas give an idea to build a browser based web application in which a url will be called

Any body pleas give an idea to build a browser based web application in which a url will be called.

 

I got a link  or code here   at  https://developer.blackberry.com/html5/apis/blackberry.invoke.browserarguments.html

 

 

i.e

 

<script type="text/javascript">
  var args = new blackberry.invoke.BrowserArguments('http://www.blackberry.com');
  blackberry.invoke.invoke(blackberry.invoke.APP_BROWSER, args);
</script>

Where shal I write in my config.xml of my application..
Developer
Posts: 672
Registered: ‎12-04-2012
My Device: BlackBerry 8520

Bad XML structure error for config.xml for Browser launcher app . please arrange accordingly

<?xml version="1.0" encoding="UTF-8"?>

<widget xmlns="http://www.w3.org/ns/widgets"

xmlns:rim="http://www.blackberry.com/ns/widgets"

version="1.0" rim:header="WebWorks Sample">

 

<script type="text&sol;javascript">

var args = new blackberry.invoke.BrowserArguments

('http:&sol;&sol;www.blackberry.com');

blackberry.invoke.invoke(blackberry.invoke.APP_BROWSER, args);

<&sol;script>

<content src="index.html"/>

</widget>